1 # Contributor: Florian "Bluewind" Pritz <flo@xssn.at>
5 pkgdesc="Sendmail Milter that pipes incoming mail through SpamAssassin"
7 url="http://savannah.nongnu.org/projects/spamass-milt/"
9 depends=(gcc-libs spamassassin)
10 makedepends=(libmilter)
11 backup=(etc/conf.d/spamass-milter.conf)
12 source=("http://savannah.nongnu.org/download/spamass-milt/$pkgname-$pkgver.tar.bz2"
18 cd "$srcdir/$pkgname-$pkgver"
20 patch < "$srcdir/popen.diff"
21 ./configure --prefix=/usr
26 cd "$srcdir/$pkgname-$pkgver"
27 install -D -m755 spamass-milter "$pkgdir/usr/bin/spamass-milter"
28 install -D -m644 spamass-milter.1 "$pkgdir/usr/share/man/man1/spamass-milter.1"
29 install -D -m755 "$srcdir/rc-script" "$pkgdir/etc/rc.d/spamass-milter"
30 install -D -m644 "$srcdir/rc-conf" "$pkgdir/etc/conf.d/spamass-milter.conf"
33 # vim:set ts=2 sw=2 et:
34 md5sums=('5f3a441de032c7c044cbb7b922311f1b'
35 '854d6d59737c2bed10e2e1bfcae7d5c6'
36 'e15bf0676348dc261b310bec4660b885'
37 '198962d06c63266b97a08fbefb3f3633')