summaryrefslogtreecommitdiff
path: root/games/gw-libretro/gw-libretro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/gw-libretro/gw-libretro.SlackBuild')
-rw-r--r--games/gw-libretro/gw-libretro.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/gw-libretro/gw-libretro.SlackBuild b/games/gw-libretro/gw-libretro.SlackBuild
index 8485a88dc4..e28f925470 100644
--- a/games/gw-libretro/gw-libretro.SlackBuild
+++ b/games/gw-libretro/gw-libretro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=gw-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
-VERSION=${VERSION:-2016.07.08_237f34c}
+VERSION=${VERSION:-2017.01.24_7e1c2a6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,7 +79,7 @@ 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}" = "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