aboutsummaryrefslogtreecommitdiff
path: root/games/libretro-yabause/libretro-yabause.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/libretro-yabause/libretro-yabause.SlackBuild')
-rw-r--r--games/libretro-yabause/libretro-yabause.SlackBuild27
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