summaryrefslogtreecommitdiff
path: root/games/gambatte-libretro/gambatte-libretro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/gambatte-libretro/gambatte-libretro.SlackBuild')
-rw-r--r--games/gambatte-libretro/gambatte-libretro.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/gambatte-libretro/gambatte-libretro.SlackBuild b/games/gambatte-libretro/gambatte-libretro.SlackBuild
index 721c8807e6..d9bb999699 100644
--- a/games/gambatte-libretro/gambatte-libretro.SlackBuild
+++ b/games/gambatte-libretro/gambatte-libretro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=gambatte-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
-VERSION=${VERSION:-2016.07.20_067e4b9}
+VERSION=${VERSION:-2017.02.03_b1af734}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,12 +74,12 @@ 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 -C libgambatte -f Makefile.libretro DEBUG=$DEBUG
+make -f Makefile.libretro DEBUG=$DEBUG
-install -Dm0644 libgambatte/$LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
+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