1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Duck Hunt <vaporeon@tfwno.gf>
7 pkgdesc='Nintendo Game Boy Advance core'
9 url=https://github.com/libretro/mgba
12 depends=(libretro-core-info)
14 _commit=a69c3434afe8b26cb8f9463077794edfa7d5efad
15 source=(libretro-mgba::git+https://github.com/libretro/mgba.git#commit=${_commit})
21 git rev-list --count HEAD
25 make -C libretro-mgba -f Makefile.libretro
29 install -Dm 644 libretro-mgba/mgba_libretro.so -t "${pkgdir}"/usr/lib/libretro/
30 install -Dm 644 libretro-mgba/LICENSE -t "${pkgdir}"/usr/share/licenses/libretro-mgba/