diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2017-02-04 21:49:39 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-11 07:24:18 +0700 |
commit | b041534ba49cb7cf1a91779d50736995e62d1251 (patch) | |
tree | 691a337e209dc6b7cdda4d9ad23f0bfb978648a3 /games/bsnes-libretro/bsnes-libretro.SlackBuild | |
parent | 154430d3d79d91b2b0b9d0cec346e24f4b902909 (diff) | |
download | slackbuilds-b041534ba49cb7cf1a91779d50736995e62d1251.tar.gz |
games/bsnes-libretro: Updated for version 2017.02.04_026fc306.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/bsnes-libretro/bsnes-libretro.SlackBuild')
-rw-r--r-- | games/bsnes-libretro/bsnes-libretro.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/games/bsnes-libretro/bsnes-libretro.SlackBuild b/games/bsnes-libretro/bsnes-libretro.SlackBuild index 521152f015..fd736c98cc 100644 --- a/games/bsnes-libretro/bsnes-libretro.SlackBuild +++ b/games/bsnes-libretro/bsnes-libretro.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=bsnes-libretro LIBNAM=$(echo $PRGNAM | cut -f1 -d"-") -VERSION=${VERSION:-2016.07.17_8a5ce25} +VERSION=${VERSION:-2017.02.04_026fc306} 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 COPYING $PKG/usr/doc/$PRGNAM-$VERSION |