updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / shorewall-lite / PKGBUILD
blobc352f29ea4dbe107d16d9113529f02ccf88d7e93
1 # Maintaner: Felix Hanley <felix@seconddrawer.com.au>
2 pkgname=('shorewall-lite')
3 pkgver=4.4.17
4 pkgrel=1
5 pkgdesc="An iptables-based firewall for Linux systems ('lite' version)"
6 arch=('any')
7 url="http://www.shorewall.net/"
8 license=('GPL')
9 depends=('iptables' 'iproute2')
10 source=(http://www.shorewall.net/pub/shorewall/4.4/shorewall-$pkgver/$pkgname-$pkgver.tar.bz2)
11 md5sums=('51dd693cecfc8ddf4e2fae00cfd17a6d')
13 build() {
14   cd "$srcdir/$pkgname-$pkgver"
15   cp init.archlinux.sh init.sh
16   DEST=/etc/rc.d INIT=$pkgname PREFIX="$pkgdir" ./install.sh
18   chmod 755 "$pkgdir/etc/rc.d/$pkgname"
19   chmod -R 644 "$pkgdir/etc/$pkgname/"
20   chmod 755 "$pkgdir/etc/$pkgname/"
21   chmod 644 "$pkgdir/usr/share/$pkgname/modules"
24 # vim:set ts=2 sw=2 et: