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

Maxime Gauduin alucryd at archlinux.org
Sat Dec 23 10:59:54 UTC 2017


    Date: Saturday, December 23, 2017 @ 10:59:53
  Author: alucryd
Revision: 275585

FS#56827: libretro-beetle-psx 1845-2

Modified:
  libretro-beetle-psx/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-23 00:23:41 UTC (rev 275584)
+++ PKGBUILD	2017-12-23 10:59:53 UTC (rev 275585)
@@ -4,7 +4,7 @@
 pkgbase=libretro-beetle-psx
 pkgname=('libretro-beetle-psx' 'libretro-beetle-psx-hw')
 pkgver=1845
-pkgrel=1
+pkgrel=2
 pkgdesc='Sony PlayStation core'
 arch=('x86_64')
 url='https://github.com/libretro/beetle-psx-libretro'
@@ -22,11 +22,13 @@
   git rev-list --count HEAD
 }
 
+prepare() {
+  cp -r libretro-beetle-psx{,-hw}
+}
+
 build() {
-  cd libretro-beetle-psx
-
-  make
-  make HAVE_HW=1
+  make -C libretro-beetle-psx
+  make HAVE_HW=1 -C libretro-beetle-psx-hw
 }
 
 package_libretro-beetle-psx() {
@@ -38,7 +40,7 @@
 package_libretro-beetle-psx-hw() {
   depends+=('libgl')
 
-  cd libretro-beetle-psx
+  cd libretro-beetle-psx-hw
 
   install -Dm 644 mednafen_psx_hw_libretro.so -t "${pkgdir}"/usr/lib/libretro/
 }



More information about the arch-commits mailing list