1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgname=libretro-bsnes-hd
6 pkgdesc='Super Nintendo Entertainment System core'
8 url=https://github.com/DerKoun/bsnes-hd
16 _commit=f46b6d6368ea93943a30b5d4e79e8ed51c2da5e8
18 libretro-bsnes-hd::git+https://github.com/DerKoun/bsnes-hd.git#commit=${_commit}
19 libretro-bsnes-hd-flags.patch
23 8108ce3da95d9a7fd9fae00d2db042f1053e60d19fe87813b7ddf0aa5313cdd8
29 patch -Np1 -i ../libretro-bsnes-hd-flags.patch
35 git rev-list --count HEAD
39 make -C libretro-bsnes-hd/bsnes -f GNUmakefile target=libretro binary=library local=false platform=linux
43 install -Dm 644 libretro-bsnes-hd/bsnes/out/bsnes_hd_beta_libretro.so -t "${pkgdir}"/usr/lib/libretro/