aboutsummaryrefslogtreecommitdiffstats
path: root/main/man-pages
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-05-02 12:04:21 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2019-05-02 12:04:21 +0200
commita0b1ac0fa3b4a6150e41dcc66859f7ab91a99086 (patch)
treec2eb0a1c0ecd3f6bbfca4fa07af8cc8d0c90aad0 /main/man-pages
parent12a697ec124ad05476e2ab4ce66d7d71f75a9e80 (diff)
downloadaports-a0b1ac0fa3b4a6150e41dcc66859f7ab91a99086.tar.bz2
aports-a0b1ac0fa3b4a6150e41dcc66859f7ab91a99086.tar.xz
main/man-pages: also compress posix man pages
These weren't compressed before because they are postfixed with a 'p' character. abuild didn't detect this because it doesn't check man pages with this postfix either.
Diffstat (limited to 'main/man-pages')
-rw-r--r--main/man-pages/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/man-pages/APKBUILD b/main/man-pages/APKBUILD
index 23b6c7b526..e4c8360a34 100644
--- a/main/man-pages/APKBUILD
+++ b/main/man-pages/APKBUILD
@@ -3,7 +3,7 @@
pkgname=man-pages
pkgver=5.00
_posixver=2013-a
-pkgrel=0
+pkgrel=1
pkgdesc="Linux man pages"
url="https://www.kernel.org/doc/man-pages/"
arch="noarch"
@@ -32,7 +32,8 @@ package() {
cd "$builddir"
make prefix="$pkgdir"/usr install
- find "$pkgdir"/usr/share/man -name "*.[0-9]" | xargs gzip -9
+ find "$pkgdir"/usr/share/man -name "*.[0-9]" -o -name "*.[0-9]p" \
+ | xargs gzip -9
# provided by libiconv-doc
rm -f "$pkgdir"/usr/share/man/man3/iconv*