summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-12-20 21:53:36 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-21 08:19:29 +0700
commit9478470320d13e1e2ace0c2769c3324cb8fbc0af (patch)
treedac26bde4d741fbddc21b44053b45f383f9e6418
parentaacb2f784b8a70b61f617929d34067648c50d0d7 (diff)
downloadslackbuilds-9478470320d13e1e2ace0c2769c3324cb8fbc0af.tar.gz
games/picodrive-libretro: Updated for version 2017.11.07_c3887ce.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/picodrive-libretro/picodrive-libretro.SlackBuild12
-rw-r--r--games/picodrive-libretro/picodrive-libretro.info6
2 files changed, 9 insertions, 9 deletions
diff --git a/games/picodrive-libretro/picodrive-libretro.SlackBuild b/games/picodrive-libretro/picodrive-libretro.SlackBuild
index 10f99268a9..1d4a55d9b4 100644
--- a/games/picodrive-libretro/picodrive-libretro.SlackBuild
+++ b/games/picodrive-libretro/picodrive-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for picodrive-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=picodrive-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
-VERSION=${VERSION:-2016.12.10_d6be4fa}
+VERSION=${VERSION:-2017.11.07_c3887ce}
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/picodrive-libretro/picodrive-libretro.info b/games/picodrive-libretro/picodrive-libretro.info
index d0c697260a..bf74fee65a 100644
--- a/games/picodrive-libretro/picodrive-libretro.info
+++ b/games/picodrive-libretro/picodrive-libretro.info
@@ -1,8 +1,8 @@
PRGNAM="picodrive-libretro"
-VERSION="2016.12.10_d6be4fa"
+VERSION="2017.11.07_c3887ce"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/picodrive-libretro-2016.12.10_d6be4fa.tar.xz"
-MD5SUM="b2eda11073eb8ce1b0d8a8941260e9e0"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/picodrive-libretro-2017.11.07_c3887ce.tar.xz"
+MD5SUM="42c6aa73158a08e9f85fe23a804beba6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"