summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Spencer2016-01-16 18:28:30 +0100
committer Willy Sudiarto Raharjo2016-01-17 03:27:24 +0100
commit48be8f0ccff4fe6d00fadea2f94638140012ee08 (patch)
treedff75ee8506afe16640e1ca7b3bd91046527c71b
parentc4c53ac26232fdf9680e8ed28415cdb6a84a2d81 (diff)
downloadslackbuilds-48be8f0ccff4fe6d00fadea2f94638140012ee08.tar.gz
development/monotone: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--development/monotone/monotone.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/development/monotone/monotone.SlackBuild b/development/monotone/monotone.SlackBuild
index 29c2bf2430..2216aa283a 100644
--- a/development/monotone/monotone.SlackBuild
+++ b/development/monotone/monotone.SlackBuild
@@ -93,6 +93,9 @@ make install htmldir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
find $PKG | xargs 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
+
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*