aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libretro-bsnes/APKBUILD
blob: 4570f447e14aaae885a165f12df7d8abfa9f6497 (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
25
26
27
28
29
30
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libretro-bsnes
_pkgname=bsnes-libretro
pkgver=0_git20190627
pkgrel=0
_commit="41fe3ece28ee1d7ae546e777daffe1720fc1b7d1"
arch="all"
url="https://github.com/libretro/bsnes-libretro"
pkgdesc="Super Nintendo Entertainment System (Famicon) core"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/bsnes-libretro/archive/$_commit.tar.gz
	flags.patch"
builddir="$srcdir/$_pkgname-$_commit"
options="!check" # No tests

build() {
	for p in accuracy balanced performance; do
		make profile=$p
	done
}

package() {
	for p in accuracy balanced performance; do
		install -Dm644 out/bsnes_${p}_libretro.so "$pkgdir"/usr/lib/libretro/bsnes_${p}_libretro.so
	done
}

sha512sums="85ece7d8773cf17f66b322afd938b4048283392174b70e529e2bb016ff1c7f3505408105b8e54976ebf1c307cafa6485197f2d3526b46d4fd7179e3581cc5d27  libretro-bsnes-41fe3ece28ee1d7ae546e777daffe1720fc1b7d1.tar.gz
33cb5bb012ed4414b906051d9837fa85e4f91b0b361fb7d0b96734b24576d44caedd146c60fef541b921f2a2823f69db6907d09a08fcc2c8d794bbd9cc0faa4f  flags.patch"