diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2017-11-16 21:24:46 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:30 +0700 |
commit | 81e740d4fc893370ed5fc2c29cefb01658e5e919 (patch) | |
tree | efb23ad0737a1f8fd01a4712d54cb0f1906c83a6 /misc | |
parent | aef3317143ea68287d0a6e1d987ee8fe9276baa7 (diff) | |
download | slackbuilds-81e740d4fc893370ed5fc2c29cefb01658e5e919.tar.gz |
misc/no-more-secrets: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/no-more-secrets/no-more-secrets.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/no-more-secrets/no-more-secrets.SlackBuild b/misc/no-more-secrets/no-more-secrets.SlackBuild index afe9af3446..e3acef3200 100644 --- a/misc/no-more-secrets/no-more-secrets.SlackBuild +++ b/misc/no-more-secrets/no-more-secrets.SlackBuild @@ -78,6 +78,9 @@ make install DESTDIR=$PKG 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 LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |