aboutsummaryrefslogtreecommitdiffstats
path: root/community/libretro-nestopia/APKBUILD
blob: b721261b853a58e86cfb2eedf82aff035b105d98 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libretro-nestopia
pkgver=1.49_git20191227
pkgrel=0
_commit="810d60a0ea758917b9f051c3c9cf8e10674fb241"
arch="all"
url="https://github.com/libretro/nestopia"
pkgdesc="Nintendo Entertainment System core for libretro"
license="GPL-2.0-or-later"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/nestopia/archive/$_commit.tar.gz"
builddir="$srcdir/nestopia-$_commit"
options="!check" # No tests

build() {
	cd libretro
	make
}

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

sha512sums="f664222d22c89768b45e6b7928956de2fad113c4d83132252f71611ec09ba812dce9afda17727e28e18e34868bbcbd5caec7f3024ac5e52b0eee6d9dde48ad94  libretro-nestopia-810d60a0ea758917b9f051c3c9cf8e10674fb241.tar.gz"