summaryrefslogtreecommitdiffstats
path: root/spampd/PKGBUILD
blob: 9a6040755a36a49e740acbb441609370b2021bc7 (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
# Contributor: Florian "Bluewind" Pritz <flo@xssn.at>
pkgname=spampd
pkgver=2.30
pkgrel=3
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')
backup=(etc/conf.d/spampd)
install=spampd.install
source=("http://www.worlddesign.com/Content/rd/mta/$pkgname/$pkgname-$pkgver.tar.gz"
    rc-script rc-config)

build() {
  cd "$srcdir/$pkgname-$pkgver"

  make
  install -Dm755 spampd "$pkgdir/usr/bin/spampd"
  install -Dm755 "$srcdir/rc-script" "$pkgdir/etc/rc.d/spampd"
  install -Dm644 "$srcdir/rc-config" "$pkgdir/etc/conf.d/spampd"
  install -Dm644 spampd.8.gz "$pkgdir/usr/share/man/man8/spampd.8.gz"
  install -m644 changelog.txt "$startdir/ChangeLog"
}

# vim:set ts=2 sw=2 et:
md5sums=('742c6f2cb75db54e59d044a8ee40445f'
         'da17b3904a63252931cfb5f02e6a089f'
         'f452cf5046abc218bffb1e951485d8f0')