diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-12-05 23:17:41 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-10 00:57:38 +0000 |
commit | 92d2c78e30b2e08d5d6a1d0687a238a54d7c935e (patch) | |
tree | a147559a53bf2d250d123842f359cd245eeb61e9 /system/krusader | |
parent | 69437e0f138df1084e8fc13df286b7b56061003f (diff) | |
download | slackbuilds-92d2c78e30b2e08d5d6a1d0687a238a54d7c935e.tar.gz |
system/krusader: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/krusader')
-rw-r--r-- | system/krusader/krusader.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/krusader/krusader.SlackBuild b/system/krusader/krusader.SlackBuild index 9a599030e6..e6a39130ed 100644 --- a/system/krusader/krusader.SlackBuild +++ b/system/krusader/krusader.SlackBuild @@ -90,6 +90,9 @@ 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 +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 AUTHORS COPYING CREDITS ChangeLog FAQ INSTALL README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION |