1 # Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
2 # http://github.com/fukawi2/aur-packages
7 pkgdesc="Combines complex postfix restrictions in a ruleset similar to those of the most firewalls"
9 url="http://postfwd.org/"
12 source=("http://postfwd.org/$pkgname-$pkgver.tar.gz")
13 md5sums=('f921180e0ebefcf74ad3ccfa6611a7f9')
16 msg "Nothing to compile for $pkgname"
20 cd $srcdir/$pkgname-$pkgver
22 mkdir -p $pkgdir/{etc/$pkgname,usr/{bin,sbin,share/{man,$pkgname}}}
24 cp -ra etc/* $pkgdir/etc/$pkgname/
25 cp -ra bin/* $pkgdir/usr/bin/
26 cp -ra sbin/* $pkgdir/usr/sbin/
27 cp -ra man/* $pkgdir/usr/share/man/
28 cp -ra tools/* $pkgdir/usr/share/$pkgname/
29 cp -ra doc/* $pkgdir/usr/share/$pkgname/
31 mkdir $pkgdir/etc/rc.d/
32 mv $pkgdir/usr/bin/postfwd-script.sh $pkgdir/etc/rc.d/$pkgname
34 mkdir -p $pkgdir/usr/share/licenses/$pkgname
35 mv $pkgdir/usr/share/$pkgname/LICENSE $pkgdir/usr/share/licenses/$pkgname
38 # vim:set ts=2 sw=2 et: