summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/QuickNES-Core/QuickNES-Core.SlackBuild14
-rw-r--r--games/QuickNES-Core/QuickNES-Core.info6
2 files changed, 10 insertions, 10 deletions
diff --git a/games/QuickNES-Core/QuickNES-Core.SlackBuild b/games/QuickNES-Core/QuickNES-Core.SlackBuild
index 77679c3d19..8db649f544 100644
--- a/games/QuickNES-Core/QuickNES-Core.SlackBuild
+++ b/games/QuickNES-Core/QuickNES-Core.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for QuickNES-Core
-# Copyright 2016 Hunter Sezen
+# Copyright 2016-2017 Hunter Sezen
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=QuickNES-Core
LIBNAM=quicknes_libretro
-VERSION=${VERSION:-2017.01.24_f7238df}
+VERSION=${VERSION:-2017.10.23_7c0796d}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,9 +57,7 @@ else
LIBDIRSUFFIX=""
fi
-DEBUG=${DEBUG:-0}
-
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -74,12 +72,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make DEBUG=$DEBUG GIT_VERSION=${VERSION#*_}
+[ "${DEBUG:=0}" != 0 ] && DEBUG=1
+
+make DEBUG=$DEBUG GIT_VERSION="${VERSION#*_}"
install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
-if [ "$DEBUG" = "0" ]; then
+if [ $DEBUG = 0 ]; then
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
fi
diff --git a/games/QuickNES-Core/QuickNES-Core.info b/games/QuickNES-Core/QuickNES-Core.info
index e9494d5924..e8a745c369 100644
--- a/games/QuickNES-Core/QuickNES-Core.info
+++ b/games/QuickNES-Core/QuickNES-Core.info
@@ -1,8 +1,8 @@
PRGNAM="QuickNES-Core"
-VERSION="2017.01.24_f7238df"
+VERSION="2017.10.23_7c0796d"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/QuickNES-Core-2017.01.24_f7238df.tar.xz"
-MD5SUM="fbd366ed8ac6677ea79f1cd423be2170"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/QuickNES-Core-2017.10.23_7c0796d.tar.xz"
+MD5SUM="238d28f1818de189b89908a1aa0c3778"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"