summaryrefslogtreecommitdiff
path: root/games/bnes-libretro
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-12-20 20:17:51 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-21 08:19:26 +0700
commita8bae987ac0f66d068ffcabcc30ebef435d30a1e (patch)
treef5a74cccf71796960c6eb6a84cc2ced897cc4daf /games/bnes-libretro
parent7d76d09145196193fe21f4d0f679691612e271bc (diff)
downloadslackbuilds-a8bae987ac0f66d068ffcabcc30ebef435d30a1e.tar.gz
games/bnes-libretro: Updated for version 2017.03.23_38161f4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/bnes-libretro')
-rw-r--r--games/bnes-libretro/bnes-libretro.SlackBuild12
-rw-r--r--games/bnes-libretro/bnes-libretro.info6
-rw-r--r--games/bnes-libretro/slack-desc2
3 files changed, 10 insertions, 10 deletions
diff --git a/games/bnes-libretro/bnes-libretro.SlackBuild b/games/bnes-libretro/bnes-libretro.SlackBuild
index 95c69e3854..1bf0f263e8 100644
--- a/games/bnes-libretro/bnes-libretro.SlackBuild
+++ b/games/bnes-libretro/bnes-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bnes-libretro
-# Copyright 2016 Hunter Sezen California, USA
+# Copyright 2016-2017 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=bnes-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
-VERSION=${VERSION:-2016.12.22_5197b6c}
+VERSION=${VERSION:-2017.03.23_38161f4}
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 {} \;
+[ "${DEBUG:=0}" != 0 ] && DEBUG=1
+
make DEBUG=$DEBUG
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/bnes-libretro/bnes-libretro.info b/games/bnes-libretro/bnes-libretro.info
index 0b145094d8..0a4eb63902 100644
--- a/games/bnes-libretro/bnes-libretro.info
+++ b/games/bnes-libretro/bnes-libretro.info
@@ -1,8 +1,8 @@
PRGNAM="bnes-libretro"
-VERSION="2016.12.22_5197b6c"
+VERSION="2017.03.23_38161f4"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bnes-libretro-2016.12.22_5197b6c.tar.xz"
-MD5SUM="e3b0653bb5d4c8a09b1b84cf15d5ee54"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bnes-libretro-2017.03.23_38161f4.tar.xz"
+MD5SUM="3bcb43df07c75c77d85cdff23ae7ba94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"
diff --git a/games/bnes-libretro/slack-desc b/games/bnes-libretro/slack-desc
index dce3d3490e..2b321d77fe 100644
--- a/games/bnes-libretro/slack-desc
+++ b/games/bnes-libretro/slack-desc
@@ -11,7 +11,7 @@ bnes-libretro:
bnes-libretro: bnes is a Nintendo Entertainment System video game system emulator
bnes-libretro: that can be used as a libretro core.
bnes-libretro:
-bnes-libretro: Homepage: http://www.libretro.com/
+bnes-libretro: Homepage: https://www.libretro.com/
bnes-libretro:
bnes-libretro:
bnes-libretro: