From 5692a8acb97f48b1e0b6b4a7b2597c46c06d8eaa Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 13 Apr 2021 20:04:32 +0700 Subject: libraries/iddawc: Compress man pages. Signed-off-by: Willy Sudiarto Raharjo --- libraries/iddawc/iddawc.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libraries') diff --git a/libraries/iddawc/iddawc.SlackBuild b/libraries/iddawc/iddawc.SlackBuild index 1d7f313ce76c3..e5df2f49e79bc 100644 --- a/libraries/iddawc/iddawc.SlackBuild +++ b/libraries/iddawc/iddawc.SlackBuild @@ -81,6 +81,11 @@ cd .. 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 +mv $PKG/usr/share/man $PKG/usr + +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 DOCS="LICENSE README.md" cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3