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