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

Maxime Gauduin alucryd at archlinux.org
Fri Dec 22 15:41:00 UTC 2017


    Date: Friday, December 22, 2017 @ 15:40:59
  Author: alucryd
Revision: 275511

upgpkg: libretro-blastem 942-1

Modified:
  libretro-blastem/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-22 15:38:35 UTC (rev 275510)
+++ PKGBUILD	2017-12-22 15:40:59 UTC (rev 275511)
@@ -2,7 +2,7 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=libretro-blastem
-pkgver=940
+pkgver=942
 pkgrel=1
 pkgdesc='Sega Mega Drive core'
 arch=('x86_64')
@@ -9,13 +9,11 @@
 url='https://github.com/libretro/blastem-libretro'
 license=('GPL3')
 groups=('libretro')
-depends=('glibc')
+depends=('glibc' 'libretro-core-info')
 makedepends=('git')
-_commit='7b6f4c539dd7727f89e1380db1979785e35ee204'
-source=("libretro-blastem::git+https://github.com/libretro/blastem-libretro.git#commit=${_commit}"
-        'https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/blastem_libretro.info')
-sha256sums=('SKIP'
-            '0314c46e4869b5d90e7b8ae627b7dbfcf5ba29963031312c0f28b4eaf8ea0a05')
+_commit='13209ec505694c5f18c12f44cedb81a542f3cafa'
+source=("libretro-blastem::git+https://github.com/libretro/blastem-libretro.git#commit=${_commit}")
+sha256sums=('SKIP')
 
 pkgver() {
   cd libretro-blastem
@@ -28,16 +26,13 @@
 
   sed 's/CFLAGS :=/CFLAGS +=/g' -i Makefile
 
-  [[ $CARCH == 'i686' ]] && make WITH_DYNAREC='x86'
-  [[ $CARCH == 'x86_64' ]] && make WITH_DYNAREC='x86_64'
+  make WITH_DYNAREC='x86_64'
 }
 
 package() {
   cd libretro-blastem/libretro
 
-  install -dm 755 "${pkgdir}"/usr/{lib/libretro,share/libretro/info}
-  install -m 644 blastem_libretro.so "${pkgdir}"/usr/lib/libretro/
-  install -m 644 ../../blastem_libretro.info "${pkgdir}"/usr/share/libretro/info/
+  install -Dm 644 blastem_libretro.so -t "${pkgdir}"/usr/lib/libretro/
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list