summaryrefslogtreecommitdiff
path: root/games/beetle-supergrafx-libretro/beetle-supergrafx-libretro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/beetle-supergrafx-libretro/beetle-supergrafx-libretro.SlackBuild')
-rw-r--r--games/beetle-supergrafx-libretro/beetle-supergrafx-libretro.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/beetle-supergrafx-libretro/beetle-supergrafx-libretro.SlackBuild b/games/beetle-supergrafx-libretro/beetle-supergrafx-libretro.SlackBuild
index 99eed8ea22..c010fb688c 100644
--- a/games/beetle-supergrafx-libretro/beetle-supergrafx-libretro.SlackBuild
+++ b/games/beetle-supergrafx-libretro/beetle-supergrafx-libretro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=beetle-supergrafx-libretro
LIBNAM=mednafen_supergrafx_libretro
-VERSION=${VERSION:-2016.06.06_db2e712}
+VERSION=${VERSION:-2017.01.24_1757cc3}
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