diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-09-03 13:18:57 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-09-03 13:18:57 +0200 |
commit | fd47d9508abcaae68145950149f73bdc5161a18b (patch) | |
tree | 92eda4829347fe66dcf68eb9ebbcb9da2c3b6665 | |
parent | c933ec96325ecf8933f114752dd6cd861d01b1ce (diff) | |
download | aports-fd47d9508abcaae68145950149f73bdc5161a18b.tar.bz2 aports-fd47d9508abcaae68145950149f73bdc5161a18b.tar.xz |
community/whois: improve abuild
-rw-r--r-- | community/whois/APKBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/community/whois/APKBUILD b/community/whois/APKBUILD index 831ee21f95..342765c24f 100644 --- a/community/whois/APKBUILD +++ b/community/whois/APKBUILD @@ -7,22 +7,21 @@ pkgdesc="Intelligent WHOIS client by Marco d'Itri" url="http://www.linux.it/~md/software/" arch="all" license="GPL2" -makedepends="$depends_dev perl libidn-dev gettext-dev" +makedepends="perl libidn-dev gettext-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/rfc1036/$pkgname/archive/v$pkgver.tar.gz - undefined-libintl.patch - " + undefined-libintl.patch" +builddir="$srcdir/$pkgname-$pkgver" -_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" make CONFIG_FILE="/etc/whois.conf" \ HAVE_LIBIDN=1 HAVE_ICONV=1 \ || return 1 } package() { - cd "$_builddir" + cd "$builddir" make BASEDIR="$pkgdir" install-whois || return 1 install -D -m644 whois.conf "$pkgdir/etc/whois.conf" } |