summaryrefslogtreecommitdiff
path: root/user/mednafen/APKBUILD
blob: ccc64e8e75f7094d937189b1ed9523defb284b86 (plain) (blame)
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
# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=mednafen
pkgver=1.21.3
pkgrel=0
pkgdesc="an emulator for various home gaming consoles"
url="https://mednafen.github.io/"
arch="all !s390x"
options="!check" # mednafen does not ship actual tests
subpackages="$pkgname-doc"
license="GPL-2.0-only"
depends=""
makedepends="alsa-lib-dev flac-dev libogg-dev libsndfile-dev libvorbis-dev
	lzo-dev sdl2-dev zlib-dev"
source="https://mednafen.github.io/releases/files/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname"

build() {
	cd "$builddir"
	./configure --prefix=/usr --enable-ss=no
	make 
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="987c14edae68901f8a693c9f7317063daf4274bb0b650ed05cd01cf4ceb38d76e6ff5446c324447f73727096c74d0bf7f545cdeadfb6291d67656d659de26715  mednafen-1.21.3.tar.xz"