updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / spamass-milter / PKGBUILD
blobd01b06e15723a34a7cdd669842549fc4c9e11ee7
1 # Contributor: Florian "Bluewind" Pritz <flo@xssn.at>
2 pkgname=spamass-milter
3 pkgver=0.3.1
4 pkgrel=2
5 pkgdesc="Sendmail Milter that pipes incoming mail through SpamAssassin"
6 arch=(i686 x86_64)
7 url="http://savannah.nongnu.org/projects/spamass-milt/"
8 license=('GPL')
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"
13         rc-conf
14         rc-script
15         popen.diff)
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   patch < "$srcdir/popen.diff"
21   ./configure --prefix=/usr
22   make
25 package() {
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')