summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-12-20 15:40:51 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-21 08:19:25 +0700
commit015d978a8657efe0c7b25674a1e0d7f2abd3c739 (patch)
treed5b3f35851a62f3b022c7af08768db798899013e /games
parent5b829fc12218e3778cf98c4c1c0ac9483ff4bfe9 (diff)
downloadslackbuilds-015d978a8657efe0c7b25674a1e0d7f2abd3c739.tar.gz
games/QuickNES-Core: Updated for version 2017.10.23_7c0796d.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games')
-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"