summaryrefslogtreecommitdiff
path: root/games/nestopia/nestopia.SlackBuild
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [t] gmail [dot] com>2013-02-12 23:12:26 -0600
committerErik Hanson <erik@slackbuilds.org>2013-02-14 00:26:58 -0600
commitd2f4275f17b612ac446ec3243c840ba1af595e96 (patch)
treec3400e2bdb18fcc989774f41542761fe9147b022 /games/nestopia/nestopia.SlackBuild
parent499811eb0ef7ce5d2b5a8e67a4c1ceaae28c64fb (diff)
downloadslackbuilds-d2f4275f17b612ac446ec3243c840ba1af595e96.tar.gz
games/nestopia: Updated for version 1.44.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'games/nestopia/nestopia.SlackBuild')
-rw-r--r--games/nestopia/nestopia.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/nestopia/nestopia.SlackBuild b/games/nestopia/nestopia.SlackBuild
index d10c25ab45..f292b9c5a6 100644
--- a/games/nestopia/nestopia.SlackBuild
+++ b/games/nestopia/nestopia.SlackBuild
@@ -5,7 +5,7 @@
# Written by Dugan Chen (thedoogster@gmail.com)
PRGNAM=nestopia
-VERSION=${VERSION:-1.43}
+VERSION=${VERSION:-1.44}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,7 +46,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.t?z*
cd $PRGNAM-$VERSION
-chown -R root:root .
+#chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
@@ -55,7 +55,7 @@ find . \
patch < $CWD/Makefile.patch
sed -i "s/-O3 -g3/-g3 ${SLKCFLAGS}/g" Makefile
-make PREFIX=/usr
+make -j1 PREFIX=/usr
make install PREFIX=$PKG/usr
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -63,13 +63,14 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING README README.linux readme.html \
+ COPYING README.md README.unix changelog.txt readme.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -ar doc/ $PKG/usr/doc/$PRGNAM-$VERSION/api/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}