1 # Contributor: Yejun Yang ( yejunx AT gmail DOT com )
6 pkgdesc="dkim-milter consists of two parts: A milter-based application (dkim-filter) which plugs in to Sendmail to provide DomainKeys Identified Mail service, and a library (libdkim) which can be used to build DKIM-compliant applications or MTAs."
8 url="http://dkim-milter.sourceforge.net/"
10 depends=('libmilter' 'postfix>=2.5' 'openssl')
11 backup=('etc/conf.d/dkim-filter.conf'
13 install=dkim-milter.install
14 source=("http://downloads.sourceforge.net/project/dkim-milter/DKIM%20Milter/$pkgver/$pkgname-$pkgver.tar.gz"
19 md5sums=('d2043c269f1720cc095a9b4f163cf3df'
20 '98d691d2ee0a354b3e43b0b93b6a7881'
21 'b52ba8b25a4dcb06615109c5216ac3eb'
22 '0ded824bbb96d2e7745571cdace63d4b')
25 cd $srcdir/$pkgname-$pkgver
26 mkdir -p $pkgdir/usr/sbin $pkgdir/usr/bin $pkgdir/usr/man/man5 $pkgdir/usr/man/man8 $pkgdir/etc/dkim
28 make DESTDIR=$pkgdir install || return 1
29 mkdir -p $pkgdir/etc/rc.d $pkgdir/etc/conf.d
30 install -m755 $srcdir/dkim $pkgdir/etc/rc.d
31 install -m644 $srcdir/dkim-filter.conf $pkgdir/etc/conf.d
32 install -m644 $srcdir/dkim.conf $pkgdir/etc/dkim
33 mkdir -p $pkgdir/usr/share/licenses/$pkgname
34 install -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname