blob: 84e49503af9f0b3a29836cb6f53a8854638cca87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Florian "Bluewind" Pritz <flo@xssn.at>
pkgname=spampd
pkgver=2.30
pkgrel=8
pkgdesc="Spamassassin Proxy Daemon"
arch=('any')
url="http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm"
license=('GPL')
depends=('perl' 'perl-net-server' 'spamassassin')
install=spampd.install
source=("http://www.worlddesign.com/Content/rd/mta/$pkgname/$pkgname-$pkgver.tar.gz"
spampd.service untaint-pidfile.patch fix-pod.patch)
md5sums=('742c6f2cb75db54e59d044a8ee40445f'
'f29bea0766c07a18f6dc0a496a79e0ac'
'41f9dc41a42f3b82fdeadfe8943ee0a3'
'cb5832fd21d3a8aa7fbe188d79c04147')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i "$srcdir/untaint-pidfile.patch"
patch -p1 -i "$srcdir/fix-pod.patch"
}
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 spampd "$pkgdir/usr/bin/spampd"
install -Dm644 spampd.8.gz "$pkgdir/usr/share/man/man8/spampd.8.gz"
install -Dm644 "$srcdir/spampd.service" "$pkgdir/usr/lib/systemd/system/spampd.service"
}
# vim:set ts=2 sw=2 et:
|