aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 14:41:37 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:24 +0700
commit79b6e318c53b161680bd6df3b8c619c98b40bc51 (patch)
tree2a36585c9542bd0e1de301427579dbd660ec486b
parent574f6396b1c8317a7807a70b975b9de0dd8bbc88 (diff)
libraries/gupnp: Compress manpages.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/gupnp/gupnp.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/gupnp/gupnp.SlackBuild b/libraries/gupnp/gupnp.SlackBuild
index 6850137bf519..5a1521bd6e6b 100644
--- a/libraries/gupnp/gupnp.SlackBuild
+++ b/libraries/gupnp/gupnp.SlackBuild
@@ -99,6 +99,9 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
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 -a AUTHORS COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild