diff options
-rw-r--r-- | main/xtables-addons/APKBUILD | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/main/xtables-addons/APKBUILD b/main/xtables-addons/APKBUILD index ab7449a3ce..d9eabbc8ee 100644 --- a/main/xtables-addons/APKBUILD +++ b/main/xtables-addons/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xtables-addons pkgver=2.9 -pkgrel=0 +pkgrel=1 pkgdesc="Netfilter userspace extensions for iptables" url="http://xtables-addons.sourceforge.net/" arch="all" @@ -12,14 +12,10 @@ install= subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz" -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$_builddir" -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ @@ -33,7 +29,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make builddir= DESTDIR="$pkgdir" install || return 1 } |