diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-19 00:24:17 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-20 02:27:21 +0700 |
commit | a046993f702ea54cf8604e846adfca98d618bacf (patch) | |
tree | ea9333b00521ebb9e33cccf4ca34a9fd7f5c1296 /games | |
parent | bad15962241aa62f7099088400181ac74a87b8de (diff) | |
download | slackbuilds-a046993f702ea54cf8604e846adfca98d618bacf.tar.gz |
Multiple: Fix manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/fceux/fceux.SlackBuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild index 15db8e17ff..6412ac1b53 100644 --- a/games/fceux/fceux.SlackBuild +++ b/games/fceux/fceux.SlackBuild @@ -82,13 +82,12 @@ scons install -i --prefix=$PKG/usr #scons install creates usr/share/pixmaps as a regular file, delete that. rm -f $PKG/usr/share/pixmaps -#install the man page -mkdir -p $PKG/usr/man/man6 -gzip -c documentation/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz - find $PKG | xargs 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 documentation/* COPYING *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |