# Maintainer: Erich Eckner pkgname=zdkimfilter pkgver=3.11 pkgrel=1 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=('4d510314a8dd641c91588992687e655d0d57e1400bbb72b4a92cd643214985e32fbe33412542f1dd3ade92496019b26d6609b69690175fb44cb025b19a0f89ed' '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,} }