diff options
author | M.Dinslage <daedra1980@gmail.com> | 2015-06-12 11:24:14 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-12 11:24:14 +0700 |
commit | b4e70c60975d5e85799fbf904f44acffae55c8ba (patch) | |
tree | 646d7496cdb6354e31da4142b8f104f397f2d92a /games/fceux | |
parent | f0295751cf70601caf72ce77095a45ee7f9e4afe (diff) |
games/fceux: Fix Build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/fceux')
-rw-r--r-- | games/fceux/fceux.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild index f45d4d9f321b1..15db8e17ff102 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 |