json-glib: Compress man pages.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-10-07 09:03:58 +07:00
parent 6be9182d2f
commit 64af62f6c3
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -88,6 +88,9 @@ meson setup \
DESTDIR=$PKG ninja install DESTDIR=$PKG ninja install
cd .. 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING NEWS README.md $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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild