summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-12-05 23:17:15 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-10 00:57:38 +0000
commit69437e0f138df1084e8fc13df286b7b56061003f (patch)
tree5a57da3c22bf7c99efd6404d2eb252d032c01883
parenta14ea7e0fd3ed78574deb1ad160bc405722857b4 (diff)
downloadslackbuilds-69437e0f138df1084e8fc13df286b7b56061003f.tar.gz
libraries/mini18n: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/mini18n/mini18n.SlackBuild3
1 files changed, 3 insertions, 0 deletions
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