summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/gw-libretro/gw-libretro.SlackBuild12
-rw-r--r--games/gw-libretro/gw-libretro.info6
-rw-r--r--games/gw-libretro/slack-desc2
3 files changed, 10 insertions, 10 deletions
diff --git a/games/gw-libretro/gw-libretro.SlackBuild b/games/gw-libretro/gw-libretro.SlackBuild
index e28f925470..e4275e09e0 100644
--- a/games/gw-libretro/gw-libretro.SlackBuild
+++ b/games/gw-libretro/gw-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gw-libretro
-# 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=gw-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
-VERSION=${VERSION:-2017.01.24_7e1c2a6}
+VERSION=${VERSION:-2017.12.10_8f054a1}
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 -f Makefile.libretro 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/gw-libretro/gw-libretro.info b/games/gw-libretro/gw-libretro.info
index 3cca94bde7..68452bc563 100644
--- a/games/gw-libretro/gw-libretro.info
+++ b/games/gw-libretro/gw-libretro.info
@@ -1,8 +1,8 @@
PRGNAM="gw-libretro"
-VERSION="2017.01.24_7e1c2a6"
+VERSION="2017.12.10_8f054a1"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/gw-libretro-2017.01.24_7e1c2a6.tar.xz"
-MD5SUM="4eca4769d062547a5966457ee1aa28a6"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/gw-libretro-2017.12.10_8f054a1.tar.xz"
+MD5SUM="8970dab4fe5fc2d969fb565dd6228b4a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"
diff --git a/games/gw-libretro/slack-desc b/games/gw-libretro/slack-desc
index 7d61e30196..483440f2dc 100644
--- a/games/gw-libretro/slack-desc
+++ b/games/gw-libretro/slack-desc
@@ -10,7 +10,7 @@ gw-libretro: gw-libretro (libretro port for Game & Watch simulators)
gw-libretro:
gw-libretro: Game & Watch is a libretro core that runs Game & Watch simulators.
gw-libretro:
-gw-libretro: Homepage: http://www.libretro.com/
+gw-libretro: Homepage: https://www.libretro.com/
gw-libretro:
gw-libretro:
gw-libretro: