From fa375daea0b36305298567378aa46159f0612b50 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Sat, 4 Feb 2017 21:51:27 +0000 Subject: games/bsnes-mercury: Updated for version 2017.02.04_4012862. Signed-off-by: David Spencer --- games/bsnes-mercury/bsnes-mercury.SlackBuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'games/bsnes-mercury/bsnes-mercury.SlackBuild') diff --git a/games/bsnes-mercury/bsnes-mercury.SlackBuild b/games/bsnes-mercury/bsnes-mercury.SlackBuild index 0dd91ead0558..cfeb92d10cee 100644 --- a/games/bsnes-mercury/bsnes-mercury.SlackBuild +++ b/games/bsnes-mercury/bsnes-mercury.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=bsnes-mercury LIBNAM=$(echo $PRGNAM | tr - _) -VERSION=${VERSION:-2016.07.17_a444a4e} +VERSION=${VERSION:-2017.02.04_4012862} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,6 +57,8 @@ else LIBDIRSUFFIX="" fi +DEBUG=${DEBUG:-0} + set -e rm -rf $PKG @@ -83,14 +85,16 @@ fi for PROFILE in $CORE; do CORENAM=${LIBNAM}_${PROFILE}_libretro - make profile=$PROFILE + make profile=$PROFILE DEBUG=$DEBUG GIT_VERSION=${VERSION#*_} install -Dm0644 out/$CORENAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$CORENAM.so install -Dm0644 $CORENAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$CORENAM.info make clean done -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 +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 LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3