summaryrefslogtreecommitdiff
path: root/games/fceux/fceux.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2010-04-14 20:29:02 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:37:54 +0200
commit6c33e78c4cbc5e44d18732562916b31c774bf409 (patch)
tree26de731b4e50ea1013d17dd39fa6a08c61ca0f80 /games/fceux/fceux.SlackBuild
parent961f783fe863a9541b8da75f20f364a28330f5a8 (diff)
downloadslackbuilds-6c33e78c4cbc5e44d18732562916b31c774bf409.tar.gz
games/fceux: Updated for version 2.1.3.
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 d3a87e9134..28f22a9802 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...