desktop/xed: Compress manpages.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-12-05 23:16:20 +00:00
parent 0cd043efc6
commit 6a35afe0a9

View file

@ -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