aboutsummaryrefslogtreecommitdiffstats
path: root/main/man-pages
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-08-12 17:10:50 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2015-08-13 08:28:38 +0000
commit18465d32f10de18c39000ffb62a37fb063f40870 (patch)
tree2dd15a9dd6a9e3fc4a70ba7b22afbc6852bc5ffd /main/man-pages
parent3e71f75b2e552e676d396f8be3eb865ec1829a9b (diff)
downloadaports-18465d32f10de18c39000ffb62a37fb063f40870.tar.bz2
aports-18465d32f10de18c39000ffb62a37fb063f40870.tar.xz
main/man-pages: compress man pages
Diffstat (limited to 'main/man-pages')
-rw-r--r--main/man-pages/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/man-pages/APKBUILD b/main/man-pages/APKBUILD
index d4d8c952a9..728bad2977 100644
--- a/main/man-pages/APKBUILD
+++ b/main/man-pages/APKBUILD
@@ -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"
@@ -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
@@ -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*