From a88a93cc9beaaa1c06003c5ff81f06bf4313162b Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 17 Jan 2016 11:44:55 +0000 Subject: libraries/libinfinity: Compress manpage. Signed-off-by: David Spencer --- libraries/libinfinity/libinfinity.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libraries/libinfinity') diff --git a/libraries/libinfinity/libinfinity.SlackBuild b/libraries/libinfinity/libinfinity.SlackBuild index b341631706c4..ef26915c0c25 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 \ -- cgit v1.2.3