aboutsummaryrefslogtreecommitdiff
path: root/academic/antiprism
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-06 23:38:29 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-01-06 23:38:29 +0000
commit6d4b476fd23d71a8d9dc4dfa82bc641d96fa1202 (patch)
tree083b03a3ce9e401afbe67491a0bd3653437f5570 /academic/antiprism
parent1b7c43e09277400450da8920e899b4e63092240f (diff)
academic/antiprism: Compress man pages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/antiprism')
-rw-r--r--academic/antiprism/antiprism.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/academic/antiprism/antiprism.SlackBuild b/academic/antiprism/antiprism.SlackBuild
index f0c20913d89e..271184a1660f 100644
--- a/academic/antiprism/antiprism.SlackBuild
+++ b/academic/antiprism/antiprism.SlackBuild
@@ -67,6 +67,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild