From b4e70c60975d5e85799fbf904f44acffae55c8ba Mon Sep 17 00:00:00 2001 From: "M.Dinslage" Date: Fri, 12 Jun 2015 11:24:14 +0700 Subject: games/fceux: Fix Build. Signed-off-by: Willy Sudiarto Raharjo --- games/fceux/fceux.SlackBuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'games') diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild index f45d4d9f32..15db8e17ff 100644 --- a/games/fceux/fceux.SlackBuild +++ b/games/fceux/fceux.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=fceux VERSION=${VERSION:-2.2.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,16 +70,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Default prefix is /usr, set our CFLAGS +# Set our CFLAGS, move man pages sed -i \ - -e "s|/local||" \ -e "s|'-Wall'|${SLKCFLAGS}, '-Wall'|" \ + -e "s|/share/man/man6/fceux.6|/man/man6/fceux.6|" \ + -e "s|/share/man/man6/fceux-net-server.6|/man/man6/fceux-net-server.6|" \ SConstruct -scons +scons install -i --prefix=$PKG/usr -#Install binary -install -m 0755 -D bin/$PRGNAM $PKG/usr/games/$PRGNAM +#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 -- cgit v1.2.3