aboutsummaryrefslogtreecommitdiff
path: root/games/fceux/fceux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/fceux/fceux.SlackBuild')
-rw-r--r--games/fceux/fceux.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild
index d3a87e9134f3c..28f22a98027f7 100644
--- a/games/fceux/fceux.SlackBuild
+++ b/games/fceux/fceux.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for fceux
-# Written by M.Dinslage (daedra1@charter.net)
+# Written by M.Dinslage (daedra1980@gmail.com)
PRGNAM=fceux
-VERSION=${VERSION:-2.1.2}
+VERSION=${VERSION:-2.1.3}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
@@ -33,6 +33,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.src.tar.bz2
+cd fceu
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -40,8 +41,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Build fceux
-cd $TMP/fceu
scons
mkdir -p $PKG/usr/bin
install -m 0755 bin/fceux $PKG/usr/bin
@@ -49,10 +48,10 @@ mkdir -p $PKG/usr/man/man6
install -m 0644 documentation/fceux.6 $PKG/usr/man/man6
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/fceux
cp -a \
- bin/fceux.chm COPYING INSTALL NEWS README TODO-PROJECT \
+ bin/fceux.chm COPYING INSTALL NEWS README-SDL TODO-PROJECT \
$PKG/usr/doc/$PRGNAM-$VERSION/fceux
-# Buidl gfceux
+# Build gfceux
cd $TMP/gfceux
python setup.py install --prefix=$PKG/usr
mkdir -p $PKG/usr/man/man1
@@ -60,8 +59,7 @@ mv $PKG/usr/share/man/man1/gfceux.1 $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man?/*
rm -rf $PKG/usr/share/man
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/gfceux
-cp -a \
- ChangeLog COPYING INSTALL TODO \
+cp ChangeLog COPYING INSTALL TODO \
$PKG/usr/doc/$PRGNAM-$VERSION/gfceux
# This is supposed to work with gtk+2-2.14.x as well...