diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = gnome-games-libretro pkgdesc = Libretro definitions for gnome-games pkgver = 3.30.0 - pkgrel = 1 + pkgrel = 2 url = https://wiki.gnome.org/Apps/Games arch = any license = GPL3 @@ -3,7 +3,7 @@ pkgname=gnome-games-libretro _srcname=gnome-games pkgver=3.30.0 -pkgrel=1 +pkgrel=2 pkgdesc='Libretro definitions for gnome-games' arch=('any') license=('GPL3') @@ -16,4 +16,11 @@ package() { cd "$_srcname" install -d "$pkgdir"/usr/lib/libretro/ install -t "$pkgdir"/usr/lib/libretro/ flatpak/libretro-cores/*.libretro + + # bsnes-mercury is available on the AUR, but doesn't build at the moment. + # In general it's nice to provide the standard package as an option. + cp "$pkgdir"/usr/lib/libretro/bsnes_mercury_balanced.libretro \ + "$pkgdir"/usr/lib/libretro/bsnes_balanced.libretro + sed -i 's/bsnes-mercury/bsnes/;s/bsnes_mercury/bsnes/' \ + "$pkgdir"/usr/lib/libretro/bsnes_balanced.libretro } |