aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-05-19 22:56:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-24 09:08:18 +0000
commitd677a88ed093f4326a8873d69a9fc02f4f979059 (patch)
tree639f9394309b9c66d05a07b61108daaf748674e2
parent2095a9206c84a16ded296d4d44e44ff9441cc4a0 (diff)
downloadaports-d677a88ed093f4326a8873d69a9fc02f4f979059.tar.gz
aports-d677a88ed093f4326a8873d69a9fc02f4f979059.tar.bz2
aports-d677a88ed093f4326a8873d69a9fc02f4f979059.tar.xz
main/libidn: include man pages, add doc subpackage
-rw-r--r--main/libidn/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/libidn/APKBUILD b/main/libidn/APKBUILD
index eeb8ea0f36..8162b1ceff 100644
--- a/main/libidn/APKBUILD
+++ b/main/libidn/APKBUILD
@@ -11,7 +11,7 @@ depends=
makedepends=
checkdepends="diffutils"
install=
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz
localename-test-fix.patch"
builddir="$srcdir/$pkgname-$pkgver"
@@ -33,8 +33,7 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls \
- --disable-doc
+ --disable-nls
make
}
@@ -46,6 +45,9 @@ check() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
+
+ # only keep man pages
+ rm -rf "$pkgdir"/usr/share/info
}
sha512sums="782260f73b1fd8ebea8a40e2b3a6866c4f67494b2b3df03748daa9c0f842a9578932e746eb4bbf2547fccb1d65d7fc99a7977759dbe58f87f2fdd26d0fe45a09 libidn-1.35.tar.gz