aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libretro-mgba/APKBUILD
blob: 502c6a3ab3d5742a13e0edc1844aa88a6729c8e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libretro-mgba
_pkgname=mgba
pkgver=0.1.1_git20190707
pkgrel=0
_commit="9c8a1a598d04e764df5f848ff619869a9c3f6ad8"
arch="all"
url="https://github.com/libretro/mgba"
pkgdesc="Nintendo Game Boy Advance core"
license="MPL-2.0"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/$_pkgname/archive/$_commit.tar.gz"
builddir="$srcdir/$_pkgname-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mgba_libretro.so "$pkgdir"/usr/lib/libretro/mgba_libretro.so
}

sha512sums="8189ba1003bbd8553375beaff136d6f9bb80410c2d4652adc0342994366f545c1ee0fafb98cd0daac5148be3e5287ff5f46c052ce735b6c27c996fc98cbe4618  libretro-mgba-9c8a1a598d04e764df5f848ff619869a9c3f6ad8.tar.gz"