summaryrefslogtreecommitdiff
path: root/games/gambatte-libretro/gambatte-libretro.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-02-04 21:57:22 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:24:18 +0700
commitb93936a5780bdf4410806c76c0502aa6964c5297 (patch)
treede16f78d80c1e686b8a8bfa314d01a34f1a19fc9 /games/gambatte-libretro/gambatte-libretro.SlackBuild
parent801c0236c0f5c28718bd1c3e6932fc9610b0300a (diff)
downloadslackbuilds-b93936a5780bdf4410806c76c0502aa6964c5297.tar.gz
games/gambatte-libretro: Updated for version 2017.02.03_b1af734.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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