diff options
Diffstat (limited to 'games/bsnes-mercury')
-rw-r--r-- | games/bsnes-mercury/bsnes-mercury.SlackBuild | 15 | ||||
-rw-r--r-- | games/bsnes-mercury/bsnes-mercury.info | 6 | ||||
-rw-r--r-- | games/bsnes-mercury/slack-desc | 2 |
3 files changed, 11 insertions, 12 deletions
diff --git a/games/bsnes-mercury/bsnes-mercury.SlackBuild b/games/bsnes-mercury/bsnes-mercury.SlackBuild index 80f7310253186..c89fc39da835c 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:-2017.06.28_b68bd0a} +VERSION=${VERSION:-2017.12.05_559b513} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,9 +57,7 @@ else LIBDIRSUFFIX="" fi -DEBUG=${DEBUG:-0} - -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -74,6 +72,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +[ "${DEBUG:=0}" != 0 ] && DEBUG=1 + case "$ARCH" in arm) CORE="${CORE:-performance}" ;; *) CORE="${CORE:-accuracy}" ;; @@ -83,19 +83,18 @@ esac for PROFILE in $CORE; do CORENAM="${LIBNAM}_${PROFILE}_libretro" - make profile="$PROFILE" DEBUG="$DEBUG" GIT_VERSION="${VERSION#*_}" + 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 -if [ "$DEBUG" = 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 LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/bsnes-mercury/bsnes-mercury.info b/games/bsnes-mercury/bsnes-mercury.info index 01082588634dd..3257cb49a4f37 100644 --- a/games/bsnes-mercury/bsnes-mercury.info +++ b/games/bsnes-mercury/bsnes-mercury.info @@ -1,8 +1,8 @@ PRGNAM="bsnes-mercury" -VERSION="2017.06.28_b68bd0a" +VERSION="2017.12.05_559b513" HOMEPAGE="https://www.libretro.com/" -DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bsnes-mercury-2017.06.28_b68bd0a.tar.xz" -MD5SUM="00b9499c6e19d808479bf40704e2c75b" +DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bsnes-mercury-2017.12.05_559b513.tar.xz" +MD5SUM="57755ccacc4413dc2147b59d718298db" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="RetroArch" diff --git a/games/bsnes-mercury/slack-desc b/games/bsnes-mercury/slack-desc index 8189f6e048d90..aa4ea09286ec5 100644 --- a/games/bsnes-mercury/slack-desc +++ b/games/bsnes-mercury/slack-desc @@ -12,7 +12,7 @@ bsnes-mercury: bsnes-mercury is a fork of higan, aiming to restore some useful bsnes-mercury: features that have been removed, as well as improving performance bsnes-mercury: a bit. bsnes-mercury: -bsnes-mercury: Homepage: http://www.libretro.com/ +bsnes-mercury: Homepage: https://www.libretro.com/ bsnes-mercury: bsnes-mercury: bsnes-mercury: |