aboutsummaryrefslogtreecommitdiff
path: root/misc/slop
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 21:41:06 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:37 +0700
commit3846c6ee4e0605750d5e4028bb69ca4acfadc995 (patch)
treec6819acead1f920c938ddf3895ea48a4528fead9 /misc/slop
parent897d6ff8b07805945ff6a95eddb8a8e4009cffbe (diff)
misc/slop: Compress manpages.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/slop')
-rw-r--r--misc/slop/slop.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/slop/slop.SlackBuild b/misc/slop/slop.SlackBuild
index 3b0abfe5884ac..49feb48510eae 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