summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/libretro-mgba/libretro-mgba.SlackBuild12
-rw-r--r--games/libretro-mgba/libretro-mgba.info6
-rw-r--r--games/libretro-mgba/slack-desc2
3 files changed, 10 insertions, 10 deletions
diff --git a/games/libretro-mgba/libretro-mgba.SlackBuild b/games/libretro-mgba/libretro-mgba.SlackBuild
index 1b95fe7e3e..803dc7fd40 100644
--- a/games/libretro-mgba/libretro-mgba.SlackBuild
+++ b/games/libretro-mgba/libretro-mgba.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libretro-mGBA
-# 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=libretro-mgba
LIBNAM=mgba_libretro
-VERSION=${VERSION:-2017.02.01_998dc433}
+VERSION=${VERSION:-2017.12.10_837b292}
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/libretro-mgba/libretro-mgba.info b/games/libretro-mgba/libretro-mgba.info
index 0125128881..572ed26e12 100644
--- a/games/libretro-mgba/libretro-mgba.info
+++ b/games/libretro-mgba/libretro-mgba.info
@@ -1,8 +1,8 @@
PRGNAM="libretro-mgba"
-VERSION="2017.02.01_998dc433"
+VERSION="2017.12.10_837b292"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/libretro-mgba-2017.02.01_998dc433.tar.xz"
-MD5SUM="12200833b8409b6aa6af9d5deab91302"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/libretro-mgba-2017.12.10_837b292.tar.xz"
+MD5SUM="f9f6c1a8a038a78d6a45b977ee9c7463"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"
diff --git a/games/libretro-mgba/slack-desc b/games/libretro-mgba/slack-desc
index 7d250f8127..73a9005f76 100644
--- a/games/libretro-mgba/slack-desc
+++ b/games/libretro-mgba/slack-desc
@@ -12,7 +12,7 @@ libretro-mgba: mGBA is a new emulator for running Game Boy Advance games. It aim
libretro-mgba: to be faster and more accurate than many existing Game Boy Advance
libretro-mgba: emulators, as well as adding features that other emulators lack.
libretro-mgba:
-libretro-mgba: Homepage: http://www.libretro.com/
+libretro-mgba: Homepage: https://www.libretro.com/
libretro-mgba:
libretro-mgba:
libretro-mgba: