aboutsummaryrefslogtreecommitdiff
path: root/desktop/xed
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-12-05 23:16:20 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-10 00:57:38 +0000
commit6a35afe0a979970db6142ff382a7036ab81e61b4 (patch)
tree47e0febff9f78da1aa87d002e7bcb6e0f93d3cfa /desktop/xed
parent0cd043efc60e54f1dbca14845ca5de58cfbb27c0 (diff)
desktop/xed: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/xed')
-rw-r--r--desktop/xed/xed.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/xed/xed.SlackBuild b/desktop/xed/xed.SlackBuild
index 26f2d530961b7..fa014ece7d11c 100644
--- a/desktop/xed/xed.SlackBuild
+++ b/desktop/xed/xed.SlackBuild
@@ -87,6 +87,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
+
DOCS="AUTHORS COPYING ChangeLog HACKING NEWS.* README"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION