summaryrefslogtreecommitdiffstats
path: root/libraries/gupnp/gupnp.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons2021-08-22 04:41:37 +0200
committer Willy Sudiarto Raharjo2021-08-25 07:11:24 +0200
commit79b6e318c53b161680bd6df3b8c619c98b40bc51 (patch)
tree2a36585c9542bd0e1de301427579dbd660ec486b /libraries/gupnp/gupnp.SlackBuild
parent574f6396b1c8317a7807a70b975b9de0dd8bbc88 (diff)
downloadslackbuilds-79b6e318c53b161680bd6df3b8c619c98b40bc51.tar.gz
libraries/gupnp: Compress manpages.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gupnp/gupnp.SlackBuild')
-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 6850137bf5..5a1521bd6e 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