aboutsummaryrefslogtreecommitdiff
path: root/games/nestopia/nestopia.SlackBuild
diff options
context:
space:
mode:
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 d10c25ab4543d..f292b9c5a69f6 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}