diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-17 11:44:55 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-18 17:05:37 +0700 |
commit | a88a93cc9beaaa1c06003c5ff81f06bf4313162b (patch) | |
tree | afe222e7e26a22a9d895eb804264d5d97c23a32d /libraries/libinfinity | |
parent | 49475a0d9e1b6389d1158255d65bfd7041ce56df (diff) |
libraries/libinfinity: Compress manpage.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libinfinity')
-rw-r--r-- | libraries/libinfinity/libinfinity.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libinfinity/libinfinity.SlackBuild b/libraries/libinfinity/libinfinity.SlackBuild index b341631706c4b..ef26915c0c258 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 \ |