summaryrefslogtreecommitdiff
path: root/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild
diff options
context:
space:
mode:
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 ea2660c5b8..27a541e37c 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