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

Maxime Gauduin alucryd at archlinux.org
Thu Jan 23 15:23:11 UTC 2020


    Date: Thursday, January 23, 2020 @ 15:23:11
  Author: alucryd
Revision: 554974

upgpkg: libretro-mgba 6622-1

Modified:
  libretro-mgba/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-23 15:21:35 UTC (rev 554973)
+++ PKGBUILD	2020-01-23 15:23:11 UTC (rev 554974)
@@ -2,17 +2,16 @@
 # Contributor: Duck Hunt <vaporeon at tfwno.gf>
 
 pkgname=libretro-mgba
-pkgver=5856
+pkgver=6622
 pkgrel=1
 pkgdesc='Nintendo Game Boy Advance core'
 arch=(x86_64)
-url='https://github.com/libretro/mgba'
+url=https://github.com/libretro/mgba
 license=(custom:MPL2)
 groups=(libretro)
 depends=(libretro-core-info)
 makedepends=(git)
-_commit='6db8583de133ccc5d56fcd1834a3d23ec87cd46d'
-source=(libretro-mgba::git+https://github.com/libretro/mgba.git#commit=${_commit})
+source=(libretro-mgba::git+https://github.com/libretro/mgba.git#commit=c4951ddb797584db804a489d28111f080f86d599)
 sha256sums=(SKIP)
 
 pkgver() {
@@ -22,16 +21,12 @@
 }
 
 build() {
-  cd libretro-mgba
-
-  make -f Makefile.libretro
+  make -C libretro-mgba -f Makefile.libretro
 }
 
 package() {
-  cd libretro-mgba
-
-  install -Dm 644 mgba_libretro.so -t "${pkgdir}"/usr/lib/libretro/
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libretro-mgba/
+  install -Dm 644 libretro-mgba/mgba_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+  install -Dm 644 libretro-mgba/LICENSE -t "${pkgdir}"/usr/share/licenses/libretro-mgba/
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list