aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild12
-rw-r--r--games/beetle-wswan-libretro/beetle-wswan-libretro.info6
-rw-r--r--games/beetle-wswan-libretro/slack-desc2
3 files changed, 10 insertions, 10 deletions
diff --git a/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild b/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild
index 27a541e37ce55..9a63346c90eac 100644
--- a/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild
+++ b/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for beetle-wswan-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=beetle-wswan-libretro
LIBNAM=mednafen_wswan_libretro
-VERSION=${VERSION:-2017.01.24_d106ea1}
+VERSION=${VERSION:-2017.12.20_be2dcc5}
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/beetle-wswan-libretro/beetle-wswan-libretro.info b/games/beetle-wswan-libretro/beetle-wswan-libretro.info
index 1e51180fecf70..20b402d45bc02 100644
--- a/games/beetle-wswan-libretro/beetle-wswan-libretro.info
+++ b/games/beetle-wswan-libretro/beetle-wswan-libretro.info
@@ -1,8 +1,8 @@
PRGNAM="beetle-wswan-libretro"
-VERSION="2017.01.24_d106ea1"
+VERSION="2017.12.20_be2dcc5"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/beetle-wswan-libretro-2017.01.24_d106ea1.tar.xz"
-MD5SUM="dba52a7e074eae94435f427eede4b70c"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/beetle-wswan-libretro-2017.12.20_be2dcc5.tar.xz"
+MD5SUM="b1a8e0aedcc498700e9fcbc92d69ceb8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"
diff --git a/games/beetle-wswan-libretro/slack-desc b/games/beetle-wswan-libretro/slack-desc
index a0430c040f76c..856d292c43a8c 100644
--- a/games/beetle-wswan-libretro/slack-desc
+++ b/games/beetle-wswan-libretro/slack-desc
@@ -11,7 +11,7 @@ beetle-wswan-libretro:
beetle-wswan-libretro: Beetle/Mednafen WSWAN is a WonderSwan (Color) video game system
beetle-wswan-libretro: emulator that can be used as a libretro core.
beetle-wswan-libretro:
-beetle-wswan-libretro: Homepage: http://www.libretro.com/
+beetle-wswan-libretro: Homepage: https://www.libretro.com/
beetle-wswan-libretro:
beetle-wswan-libretro:
beetle-wswan-libretro: