From 432dc0c770499c3da6178d8388ea7db4aa358772 Mon Sep 17 00:00:00 2001
From: Hunter Sezen <orbea@fredslev.dk>
Date: Sun, 4 Nov 2018 20:21:43 +0000
Subject: games/beetle-gba-libretro: Updated for version 2018.08.12_0ca99bf.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
---
 .../beetle-gba-libretro.SlackBuild                  | 21 ++++-----------------
 games/beetle-gba-libretro/beetle-gba-libretro.info  |  6 +++---
 2 files changed, 7 insertions(+), 20 deletions(-)

diff --git a/games/beetle-gba-libretro/beetle-gba-libretro.SlackBuild b/games/beetle-gba-libretro/beetle-gba-libretro.SlackBuild
index fd642e0358..7ac45452e6 100644
--- a/games/beetle-gba-libretro/beetle-gba-libretro.SlackBuild
+++ b/games/beetle-gba-libretro/beetle-gba-libretro.SlackBuild
@@ -2,7 +2,7 @@
 
 # Slackware build script for beetle-gba-libretro
 
-# Copyright 2016-2017 Hunter Sezen
+# Copyright 2016-2018 Hunter Sezen
 # All rights reserved.
 #
 # Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
 #  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 PRGNAM=beetle-gba-libretro
-VERSION=${VERSION:-2017.12.17_8e5230c}
+VERSION=${VERSION:-2018.08.12_0ca99bf}
 LIBNAM=mednafen_gba_libretro
 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
 
diff --git a/games/beetle-gba-libretro/beetle-gba-libretro.info b/games/beetle-gba-libretro/beetle-gba-libretro.info
index 616d52824d..4b16ee927e 100644
--- a/games/beetle-gba-libretro/beetle-gba-libretro.info
+++ b/games/beetle-gba-libretro/beetle-gba-libretro.info
@@ -1,8 +1,8 @@
 PRGNAM="beetle-gba-libretro"
-VERSION="2017.12.17_8e5230c"
+VERSION="2018.08.12_0ca99bf"
 HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/games/beetle-gba-libretro/beetle-gba-libretro-2017.12.17_8e5230c.tar.xz"
-MD5SUM="b3baa01b05de5c860c1103d802b062e4"
+DOWNLOAD="http://slackless.raccoons.tech/src/libretro/beetle-gba-libretro-2018.08.12_0ca99bf.tar.xz"
+MD5SUM="23f8ddab18b2d4c7380e67486bbd3d77"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="RetroArch"
-- 
cgit v1.2.3