summaryrefslogtreecommitdiff
path: root/games/beetle-ngp-libretro/beetle-ngp-libretro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/beetle-ngp-libretro/beetle-ngp-libretro.SlackBuild')
-rw-r--r--games/beetle-ngp-libretro/beetle-ngp-libretro.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/beetle-ngp-libretro/beetle-ngp-libretro.SlackBuild b/games/beetle-ngp-libretro/beetle-ngp-libretro.SlackBuild
index eb74230ee6..771b9d5bb5 100644
--- a/games/beetle-ngp-libretro/beetle-ngp-libretro.SlackBuild
+++ b/games/beetle-ngp-libretro/beetle-ngp-libretro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=beetle-ngp-libretro
LIBNAM=mednafen_ngp_libretro
-VERSION=${VERSION:-2016.07.25_8c5197a}
+VERSION=${VERSION:-2017.01.24_66ef987}
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