summaryrefslogtreecommitdiff
path: root/games/fceux/fceux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/fceux/fceux.SlackBuild')
-rw-r--r--games/fceux/fceux.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild
index 682a580ee7..7e650d541a 100644
--- a/games/fceux/fceux.SlackBuild
+++ b/games/fceux/fceux.SlackBuild
@@ -5,7 +5,7 @@
# Written by M.Dinslage (daedra1980@gmail.com)
PRGNAM=fceux
-VERSION=${VERSION:-r2668}
+VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,9 +41,9 @@ set -e # Exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf fceu$VERSION
+rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.src.tar.?z*
-cd fceu$VERSION
+cd $PRGNAM
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -52,7 +52,8 @@ find . \
-exec chmod 644 {} \;
# Fix underlinking and disable debug with a patch
-patch -p1 < $CWD/fceux-r2668.patch
+patch -p1 < $CWD/fceux-2.2.0-underlink.patch
+
# Default prefix is /usr, set our CFLAGS
sed -i \
-e "s|/local||" \
@@ -76,7 +77,7 @@ cp -a documentation/* COPYING *.txt *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
#Add icon and application launcher
-mkdir -p $PKG/usr/share/{applications,pixmaps}
+mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
cat $CWD/Nintendo.png > $PKG/usr/share/pixmaps/Nintendo.png