From 92d2c78e30b2e08d5d6a1d0687a238a54d7c935e Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 5 Dec 2016 23:17:41 +0000 Subject: system/krusader: Compress manpages. Signed-off-by: David Spencer --- system/krusader/krusader.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'system') diff --git a/system/krusader/krusader.SlackBuild b/system/krusader/krusader.SlackBuild index 9a599030e6f54..e6a39130ed366 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 -- cgit v1.2.3