diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-13 20:04:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-13 20:04:32 +0700 |
commit | 5692a8acb97f48b1e0b6b4a7b2597c46c06d8eaa (patch) | |
tree | 37ccc9b599d3ce50d34167e8d669cd7c3c8369b3 | |
parent | b53738b7544832c92bd04c227a0767616218354c (diff) | |
download | slackbuilds-5692a8acb97f48b1e0b6b4a7b2597c46c06d8eaa.tar.gz |
libraries/iddawc: Compress man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/iddawc/iddawc.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/iddawc/iddawc.SlackBuild b/libraries/iddawc/iddawc.SlackBuild index 1d7f313ce7..e5df2f49e7 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 |