summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/fceux/fceux.SlackBuild13
1 files changed, 7 insertions, 6 deletions
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