[arch-commits] Commit in libretro-blastem/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Tue May 3 22:30:09 UTC 2016


    Date: Wednesday, May 4, 2016 @ 00:30:09
  Author: alucryd
Revision: 173617

upgpkg: libretro-blastem 937-2

Modified:
  libretro-blastem/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-03 22:22:45 UTC (rev 173616)
+++ PKGBUILD	2016-05-03 22:30:09 UTC (rev 173617)
@@ -3,9 +3,9 @@
 
 pkgname=libretro-blastem
 pkgver=937
-pkgrel=1
+pkgrel=2
 pkgdesc='Sega Mega Drive core'
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url='https://github.com/libretro/blastem-libretro'
 license=('GPL3')
 groups=('libretro')
@@ -25,7 +25,10 @@
 build() {
   cd libretro-blastem/libretro
 
-  make
+  sed 's/CFLAGS :=/CFLAGS +=/g' -i Makefile
+
+  [[ $CARCH == 'i686' ]] && make WITH_DYNAREC='x86'
+  [[ $CARCH == 'x86_64' ]] && make WITH_DYNAREC='x86_64'
 }
 
 package() {



More information about the arch-commits mailing list