aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-12-20 21:54:59 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-21 08:19:29 +0700
commit1bbf9fc78c7ef8dc94634d321e9b2bb0b3fbc05a (patch)
tree3ede805a4f7cdd43f0156cfb0078ef9e81c764f6
parent9478470320d13e1e2ace0c2769c3324cb8fbc0af (diff)
games/prosystem-libretro: Updated for version 2017.12.06_b8e9241.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/prosystem-libretro/prosystem-libretro.SlackBuild12
-rw-r--r--games/prosystem-libretro/prosystem-libretro.info6
2 files changed, 9 insertions, 9 deletions
diff --git a/games/prosystem-libretro/prosystem-libretro.SlackBuild b/games/prosystem-libretro/prosystem-libretro.SlackBuild
index a238ab0cac8bf..e2e8bbee27abc 100644
--- a/games/prosystem-libretro/prosystem-libretro.SlackBuild
+++ b/games/prosystem-libretro/prosystem-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for prosystem-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=prosystem-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
-VERSION=${VERSION:-2017.01.24_1cf5472}
+VERSION=${VERSION:-2017.12.06_b8e9241}
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/prosystem-libretro/prosystem-libretro.info b/games/prosystem-libretro/prosystem-libretro.info
index 8937f4b8cfea8..254aa1590c81c 100644
--- a/games/prosystem-libretro/prosystem-libretro.info
+++ b/games/prosystem-libretro/prosystem-libretro.info
@@ -1,8 +1,8 @@
PRGNAM="prosystem-libretro"
-VERSION="2017.01.24_1cf5472"
+VERSION="2017.12.06_b8e9241"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/prosystem-libretro-2017.01.24_1cf5472.tar.xz"
-MD5SUM="38c08ae910ffe1d7d194d08318ea9411"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/prosystem-libretro-2017.12.06_b8e9241.tar.xz"
+MD5SUM="f1cca3b46d5425a8550dd456793782da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"