summaryrefslogtreecommitdiff
path: root/games/bsnes/bsnes.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-08-25 20:47:23 -0400
committerErik Hanson <erik@slackbuilds.org>2010-08-29 15:32:12 -0500
commiteaf7f4d9be4a34e87b1b06f821a64f345098ea2e (patch)
tree17236d86c982a207b378c935f4350a8f5ca29e1c /games/bsnes/bsnes.SlackBuild
parent5875a1eacd7c5d2fa6c835a554bf6a52195cde72 (diff)
downloadslackbuilds-eaf7f4d9be4a34e87b1b06f821a64f345098ea2e.tar.gz
games/bsnes: Updated for version 0.068.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/bsnes/bsnes.SlackBuild')
-rw-r--r--games/bsnes/bsnes.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/bsnes/bsnes.SlackBuild b/games/bsnes/bsnes.SlackBuild
index 69fc13d99c..db126d5e86 100644
--- a/games/bsnes/bsnes.SlackBuild
+++ b/games/bsnes/bsnes.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=bsnes
-VERSION=${VERSION:-0.067}
+VERSION=${VERSION:-0.068}
SRCVER=${VERSION:2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,6 +46,7 @@ rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_v${SRCVER}.tar.bz2
+find . -type d -exec chmod -R 0755 {} \;
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -53,10 +54,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-cd src
+cd $PRGNAM
# Patch makefile so SLKCFLAGS and LIBDIRSUFFIX are recognized.
-cat $CWD/bsnes-0.064-makefile.patch \
+cat $CWD/bsnes-0.068-makefile.patch \
| sed -e "/^\+/s|/lib/|/lib${LIBDIRSUFFIX}/|g" \
| patch -p1
@@ -65,7 +66,7 @@ cat $CWD/bsnes-0.064-makefile.patch \
sed -i \
-e 's|audio.pulseaudio ||' \
-e 's|audio.pulseaudiosimple ||' \
- -e '/pulse/d' ui_qt/Makefile
+ -e '/pulse/d' qt/Makefile
CXXFLAGS="$SLKCFLAGS" \
make \
@@ -92,7 +93,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a data/*.html $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a qt/data/*.html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;