diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-11-04 21:00:50 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:46:50 +0700 |
commit | 4712566b8d8abf71e6c5bcecbd7c2e0154742bf6 (patch) | |
tree | 05852baf096d93eb1190e87fff38747bbd2ac922 /games/libretro-yabause/libretro-yabause.SlackBuild | |
parent | 6774b3f0bf66124b3df417631ee6bc9ec5720c9c (diff) |
games/libretro-yabause: Updated for version 2018.10.12_aa15301.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/libretro-yabause/libretro-yabause.SlackBuild')
-rw-r--r-- | games/libretro-yabause/libretro-yabause.SlackBuild | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/games/libretro-yabause/libretro-yabause.SlackBuild b/games/libretro-yabause/libretro-yabause.SlackBuild index 80e09cbc69259..ebbf4ba5567e1 100644 --- a/games/libretro-yabause/libretro-yabause.SlackBuild +++ b/games/libretro-yabause/libretro-yabause.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libretro-yabause -# Copyright 2016-2017 Hunter Sezen +# Copyright 2016-2018 Hunter Sezen # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=libretro-yabause LIBNAM=yabause_libretro -VERSION=${VERSION:-2017.11.07_c55eef9} +VERSION=${VERSION:-2018.10.12_aa15301} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,21 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# requires patching the Makefile to properly use -# the default CFLAGS and CXXFLAGS are probably fine -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi +LIBDIRSUFFIX= +[ "$ARCH" = x86_64 ] && LIBDIRSUFFIX=64 set -eu @@ -86,13 +73,11 @@ fi for DOCDIR in mini18n yabause yabauseut; do mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR - cd $DOCDIR for file in AUTHORS COPYING ChangeLog GOALS README* TODO; do - if [ -f $file ]; then - cp -a $file $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR + if [ -f $DOCDIR/$file ]; then + cp -a $DOCDIR/$file $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR fi done - cd - done cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |