summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-17 11:44:55 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-18 17:05:37 +0700
commita88a93cc9beaaa1c06003c5ff81f06bf4313162b (patch)
treeafe222e7e26a22a9d895eb804264d5d97c23a32d
parent49475a0d9e1b6389d1158255d65bfd7041ce56df (diff)
downloadslackbuilds-a88a93cc9beaaa1c06003c5ff81f06bf4313162b.tar.gz
libraries/libinfinity: Compress manpage.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/libinfinity/libinfinity.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libinfinity/libinfinity.SlackBuild b/libraries/libinfinity/libinfinity.SlackBuild
index b341631706..ef26915c0c 100644
--- a/libraries/libinfinity/libinfinity.SlackBuild
+++ b/libraries/libinfinity/libinfinity.SlackBuild
@@ -66,6 +66,9 @@ make install 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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \