summaryrefslogtreecommitdiff
path: root/user/mednaffe/APKBUILD
blob: 9770912b195b241eae281bb432ddc273a59d19a3 (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
# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=mednaffe
pkgver=0.8.7
pkgrel=0
pkgdesc="a front-end to the mednafen emulator"
url="https://github.com/AmatCoder/mednaffe"
arch="all !s390x"
options="!check" # mednaffe does not ship a test suite
subpackages="$pkgname-doc"
license="GPL-3.0-only"
depends="mednafen"
makedepends="mednafen gtk+2.0-dev glib-dev atk-dev pango-dev cairo-dev libxfixes-dev libx11-dev libxrender-dev libxi-dev libxext-dev libxdamage-dev libffi-dev pcre-dev freetype-dev harfbuzz-dev libxcb-dev expat-dev libxau-dev libxdmcp-dev graphite2-dev libuuid libbsd-dev"
source="https://github.com/AmatCoder/mednaffe/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr --disable-gtk3
	make 
}

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

sha512sums="3495ecd3b87f19ab65d8760ea8adfa830c4dc9fe959f2e2f349216b36f58d9623c9cfd0c7e40fe5e8b7b90846fe85d9808c2a5885f36d5d8b16659b25cf8a3a1 mednaffe-0.8.7.tar.gz"