diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-12-05 23:17:15 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-10 00:57:38 +0000 |
commit | 69437e0f138df1084e8fc13df286b7b56061003f (patch) | |
tree | 5a57da3c22bf7c99efd6404d2eb252d032c01883 /libraries/mini18n/mini18n.SlackBuild | |
parent | a14ea7e0fd3ed78574deb1ad160bc405722857b4 (diff) |
libraries/mini18n: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/mini18n/mini18n.SlackBuild')
-rw-r--r-- | libraries/mini18n/mini18n.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/mini18n/mini18n.SlackBuild b/libraries/mini18n/mini18n.SlackBuild index df03b1eb1c50..d15e6a02a73f 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 |