aboutsummaryrefslogtreecommitdiff
path: root/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-02-04 21:36:51 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:24:17 +0700
commitd4325967f0d3b5fd1a85d7ef76a6c2d19db3a5f6 (patch)
tree6eeeb7d1590c6094d6e0d585c29c72f7e45defc7 /games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild
parent270280b837902730b948c314cbeb58d4fdf9dce6 (diff)
games/beetle-wswan-libretro: Updated for version 2017.01.24_d106ea1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild')
-rw-r--r--games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild b/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild
index ea2660c5b823c..27a541e37ce55 100644
--- a/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild
+++ b/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=beetle-wswan-libretro
LIBNAM=mednafen_wswan_libretro
-VERSION=${VERSION:-2016.07.25_e8afc1b}
+VERSION=${VERSION:-2017.01.24_d106ea1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,12 +79,13 @@ 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}" = "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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install