diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rwxr-xr-x | PKGBUILD | 9 |
2 files changed, 12 insertions, 14 deletions
@@ -8,6 +8,14 @@ pkgbase = zdkimfilter arch = x86_64 license = GPL3 depends = courier-mta + depends = glibc>=2.31 + depends = libidn2=2.3.0 + depends = libunistring=0.9.10 + depends = libutil-linux=2.35.2 + depends = nettle=3.6 + depends = opendbx=1.4.6 + depends = opendkim=2.10.3 + depends = zlib=1:1.2.11 options = debug options = !strip backup = etc/courier/filters/zdkimfilter.conf @@ -18,13 +26,4 @@ pkgbase = zdkimfilter sha512sums = SKIP pkgname = zdkimfilter - depends = courier-mta - depends = glibc>=2.31 - depends = libidn2=2.3.0 - depends = libunistring=0.9.10 - depends = libutil-linux=2.35.2 - depends = nettle=3.6 - depends = opendbx=1.4.6 - depends = opendkim=2.10.3 - depends = zlib=1:1.2.11 @@ -6,9 +6,6 @@ pkgdesc="zDKIM filter for Courier-MTA using the OpenDKIM Project's library." arch=('i686' 'pentium4' 'x86_64') url='https://www.tana.it/sw/zdkimfilter/' license=('GPL3') -depends=( - 'courier-mta' -) _pinned_dependencies=( 'glibc>=2.31' 'libidn2=2.3.0' @@ -19,6 +16,10 @@ _pinned_dependencies=( 'opendkim=2.10.3' 'zlib=1:1.2.11' ) +depends=( + 'courier-mta' + "${_pinned_dependencies[@]}" +) backup=('etc/courier/filters/zdkimfilter.conf') source=( "http://www.tana.it/sw/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc} @@ -38,8 +39,6 @@ build() { package() { - depends+=("${_pinned_dependencies[@]}") - cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install mv "${pkgdir}/etc/courier/filters/zdkimfilter.conf"{.dist,} |