# Maintainer: Natanael Copa pkgname=shorewall-core pkgver=4.5.21.10 _ver=$pkgver case $pkgver in *.*.*.*) _ver=${pkgver%.*};; esac pkgrel=0 pkgdesc="Core libraries for Shorewall" url="http://www.shorewall.net/" arch="" license="GPL-2" depends="" # coreutils for install -T makedepends="coreutils bash" replaces="" subpackages="" source="http://www1.shorewall.net/pub/shorewall/${_ver%.*}/shorewall-$_ver/shorewall-core-$pkgver.tar.bz2 " _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure MANDIR=/usr/share/man SBINDIR=/usr/sbin || return 1 } package() { cd "$_builddir" DESTDIR="$pkgdir" ./install.sh || return 1 } md5sums="2cf7d516232ed2283bca3283e55408de shorewall-core-4.5.21.10.tar.bz2" sha256sums="57e4b96ae3258b5150fbb188921845e8843d6b6ccb77d60a10bb984f87951334 shorewall-core-4.5.21.10.tar.bz2" sha512sums="ad96fd91d5d8eb900b7a2180a37fa1826c7448fd5ff0f94f938e897b2cdf9d7b2a064cb4499fb76107bb8cf8f32c1265a7ff6d5966dae1d1d76a4a61482d6c81 shorewall-core-4.5.21.10.tar.bz2"