summaryrefslogtreecommitdiffstats
path: root/games/fceux/fceux.SlackBuild
diff options
context:
space:
mode:
author M.Dinslage2013-01-06 07:11:26 +0100
committer dsomero2013-01-10 00:52:23 +0100
commitd2d139f6f1733dc9d22e759e1f076d0be4efcec0 (patch)
tree949868d54a03d4f2217159d1eaee946f23bf2691 /games/fceux/fceux.SlackBuild
parent54c929b079208da633aa985df1a31d5520ec5041 (diff)
downloadslackbuilds-d2d139f6f1733dc9d22e759e1f076d0be4efcec0.tar.gz
games/fceux: Updated for version 2.2.0.
Updated underlink patch, cleanups. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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