From 3846c6ee4e0605750d5e4028bb69ca4acfadc995 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 22 Aug 2021 21:41:06 +1200 Subject: misc/slop: Compress manpages. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- misc/slop/slop.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc') diff --git a/misc/slop/slop.SlackBuild b/misc/slop/slop.SlackBuild index 3b0abfe588..49feb48510 100644 --- a/misc/slop/slop.SlackBuild +++ b/misc/slop/slop.SlackBuild @@ -90,6 +90,9 @@ rm -rf $PKG/usr/share 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 COPYING README.md license.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3