archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / libretro-beetle-supergrafx / repos / community-x86_64 / PKGBUILD
blobeb4a88dee61d883ce5ef6e873ea4dd2c2f23294f
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgname=libretro-beetle-supergrafx
4 pkgver=978
5 pkgrel=1
6 pkgdesc='NEC SuperGrafx core'
7 arch=(x86_64)
8 url=https://github.com/libretro/beetle-supergrafx-libretro
9 license=(GPL2)
10 groups=(libretro)
11 depends=(
12   gcc-libs
13   glibc
14   libretro-core-info
15   zlib
17 makedepends=(git)
18 _commit=4c6f55186c17b509343f61dda9992e48299930aa
19 source=(libretro-beetle-supergrafx::git+https://github.com/libretro/beetle-supergrafx-libretro.git#commit=${_commit})
20 sha256sums=(SKIP)
22 pkgver() {
23   cd libretro-beetle-supergrafx
25   git rev-list --count HEAD
28 build() {
29   make \
30     SYSTEM_LIBCHDR=0 \
31     SYSTEM_ZLIB=1 \
32     -C libretro-beetle-supergrafx
35 package() {
36   install -Dm 644 libretro-beetle-supergrafx/mednafen_supergrafx_libretro.so -t "${pkgdir}"/usr/lib/libretro/
39 # vim: ts=2 sw=2 et: