aboutsummaryrefslogtreecommitdiff
path: root/libraries/libwacom
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-08-26 20:59:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-01 07:32:16 +0700
commitecb7976bb3a8605aa138a7105a6704330eae2e9d (patch)
treec4622f9049bd59b7c45bd6aa9b0ba4299b646f35 /libraries/libwacom
parenta5297d53d86901da53bb372f212c8d9ccac4d1ce (diff)
libraries/libwacom: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libwacom')
-rw-r--r--libraries/libwacom/libwacom.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libwacom/libwacom.SlackBuild b/libraries/libwacom/libwacom.SlackBuild
index f84bee0fd1d70..c0bac80db1bed 100644
--- a/libraries/libwacom/libwacom.SlackBuild
+++ b/libraries/libwacom/libwacom.SlackBuild
@@ -88,6 +88,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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild