summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-12-05 23:17:41 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-10 00:57:38 +0000
commit92d2c78e30b2e08d5d6a1d0687a238a54d7c935e (patch)
treea147559a53bf2d250d123842f359cd245eeb61e9
parent69437e0f138df1084e8fc13df286b7b56061003f (diff)
downloadslackbuilds-92d2c78e30b2e08d5d6a1d0687a238a54d7c935e.tar.gz
system/krusader: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--system/krusader/krusader.SlackBuild3
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