Mail archive
alpine-aports

[alpine-aports] [PATCH 5/9] main/man-pages: compress man pages

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Wed, 12 Aug 2015 17:10:50 +0200

---
 main/man-pages/APKBUILD | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/main/man-pages/APKBUILD b/main/man-pages/APKBUILD
index d4d8c95..728bad2 100644
--- a/main/man-pages/APKBUILD
+++ b/main/man-pages/APKBUILD
_at_@ -2,7 +2,7 @@
 pkgname=man-pages
 pkgver=4.02
 _posixver=2003-a
-pkgrel=0
+pkgrel=1
 pkgdesc="Linux man pages"
 url="http://www.kernel.org/doc/man-pages/"
 arch="noarch"
_at_@ -14,6 +14,9 @@ source="http://www.kernel.org/pub/linux/docs/man-pages/man-pages-$pkgver.tar.xz
 	http://www.kernel.org/pub/linux/docs/$pkgname/$pkgname-posix/$pkgname-posix-${_posixver}.tar.bz2"
 
 build() {
+	make -C "$srcdir"/$pkgname-$pkgver gz
+	make -C "$srcdir"/$pkgname-posix-${_posixver} gz
+
 	cd "$srcdir"/$pkgname-$pkgver
 	mkdir -p "$srcdir"/$pkgname-$pkgver/man0
 	for sect in 0 1 3; do
_at_@ -27,6 +30,7 @@ build() {
 package() {
 	cd "$srcdir"/$pkgname-$pkgver
 	make prefix="$pkgdir"/usr install || return 1
+
 	# provided by libiconv-doc
 	rm "$pkgdir"/usr/share/man/man3/iconv*
 
-- 
2.5.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Aug 12 2015 - 17:10:50 GMT