From 64af62f6c3c2164650d5c885b56a0422ad0b1d5e Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 7 Oct 2017 09:03:58 +0700 Subject: [PATCH] json-glib: Compress man pages. Signed-off-by: Willy Sudiarto Raharjo --- json-glib/json-glib.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/json-glib/json-glib.SlackBuild b/json-glib/json-glib.SlackBuild index 46f7b11..a2e36a7 100644 --- a/json-glib/json-glib.SlackBuild +++ b/json-glib/json-glib.SlackBuild @@ -88,6 +88,9 @@ meson setup \ DESTDIR=$PKG ninja install cd .. +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 -a COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild