From d2d139f6f1733dc9d22e759e1f076d0be4efcec0 Mon Sep 17 00:00:00 2001 From: "M.Dinslage" Date: Sun, 6 Jan 2013 07:11:26 +0100 Subject: games/fceux: Updated for version 2.2.0. Updated underlink patch, cleanups. Signed-off-by: Matteo Bernardini --- games/fceux/fceux.SlackBuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'games/fceux/fceux.SlackBuild') diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild index 682a580ee79d8..7e650d541a894 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 -- cgit v1.2.3