From 69437e0f138df1084e8fc13df286b7b56061003f Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 5 Dec 2016 23:17:15 +0000 Subject: libraries/mini18n: Compress manpages. Signed-off-by: David Spencer --- libraries/mini18n/mini18n.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libraries') diff --git a/libraries/mini18n/mini18n.SlackBuild b/libraries/mini18n/mini18n.SlackBuild index df03b1eb1c..d15e6a02a7 100644 --- a/libraries/mini18n/mini18n.SlackBuild +++ b/libraries/mini18n/mini18n.SlackBuild @@ -88,6 +88,9 @@ cd - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3