summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/libretro-2048/libretro-2048.SlackBuild12
-rw-r--r--games/libretro-2048/libretro-2048.info6
-rw-r--r--games/libretro-2048/slack-desc2
3 files changed, 10 insertions, 10 deletions
diff --git a/games/libretro-2048/libretro-2048.SlackBuild b/games/libretro-2048/libretro-2048.SlackBuild
index bd6306d8e5..b13c1bc6c6 100644
--- a/games/libretro-2048/libretro-2048.SlackBuild
+++ b/games/libretro-2048/libretro-2048.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libretro-2048
LIBNAM=2048_libretro
-VERSION=${VERSION:-2017.01.20_5415b1b}
+VERSION=${VERSION:-2017.10.23_04b708a}
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 -f Makefile.libretro DEBUG=$DEBUG GIT_VERSION=${VERSION#*_}
+[ "${DEBUG:=0}" != 0 ] && DEBUG=1
+
+make -f Makefile.libretro 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/libretro-2048/libretro-2048.info b/games/libretro-2048/libretro-2048.info
index a84834d307..6283f1cc96 100644
--- a/games/libretro-2048/libretro-2048.info
+++ b/games/libretro-2048/libretro-2048.info
@@ -1,8 +1,8 @@
PRGNAM="libretro-2048"
-VERSION="2017.01.20_5415b1b"
+VERSION="2017.10.23_04b708a"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/libretro-2048-2017.01.20_5415b1b.tar.xz"
-MD5SUM="475cb94406b6647ddeab609f65f43e4e"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/libretro-2048-2017.10.23_04b708a.tar.xz"
+MD5SUM="c1af1da05b16515655e8fe350f505a7d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"
diff --git a/games/libretro-2048/slack-desc b/games/libretro-2048/slack-desc
index f363233e1e..0735d9e583 100644
--- a/games/libretro-2048/slack-desc
+++ b/games/libretro-2048/slack-desc
@@ -11,7 +11,7 @@ libretro-2048:
libretro-2048: Port of 2048 puzzle game to the libretro API.
libretro-2048: Join the numbers and get to the 2048 tile!
libretro-2048:
-libretro-2048: Homepage: http://www.libretro.com/
+libretro-2048: Homepage: https://www.libretro.com/
libretro-2048:
libretro-2048:
libretro-2048: