From 6a35afe0a979970db6142ff382a7036ab81e61b4 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 5 Dec 2016 23:16:20 +0000 Subject: [PATCH] desktop/xed: Compress manpages. Signed-off-by: David Spencer --- desktop/xed/xed.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop/xed/xed.SlackBuild b/desktop/xed/xed.SlackBuild index 26f2d53096..fa014ece7d 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