From a046993f702ea54cf8604e846adfca98d618bacf Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 19 Jan 2016 00:24:17 +0000 Subject: Multiple: Fix manpages. Signed-off-by: David Spencer --- network/spice-gtk/spice-gtk.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'network/spice-gtk') diff --git a/network/spice-gtk/spice-gtk.SlackBuild b/network/spice-gtk/spice-gtk.SlackBuild index 437992b5e5..fec6a2f1b6 100644 --- a/network/spice-gtk/spice-gtk.SlackBuild +++ b/network/spice-gtk/spice-gtk.SlackBuild @@ -106,6 +106,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 -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3