# Maintainer: Erich Eckner pkgname=zdkimfilter pkgver=3.6 pkgrel=3 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' 'opendkim' 'libbsd' 'libidn2.so' 'libnettle.so' 'libunistring.so' 'libuuid.so' 'opendbx' 'openssl' 'zlib' ) backup=('etc/courier/filters/zdkimfilter.conf') source=( "http://www.tana.it/sw/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc} ) sha512sums=('d5d8e8411d0ccf03e998fd06dcc40d1f766a3b0d7dfb503519462bd6113fc4e79c2252bf715c438aa3267fa5565425f6f271de3c1acf21ed9dc826b30b87192b' 'SKIP') validpgpkeys=('0A5B4BB141A53F7F55FC8CBCB6ACF44490D17C00') options=('debug' '!strip') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --with-courier-version=60 --with-openssl --without-gnutls make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install mv "${pkgdir}/etc/courier/filters/zdkimfilter.conf"{.dist,} }