aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fs-uae/APKBUILD
blob: 636bf1ebecc710fb37d695736c4ff4dc9cf13614 (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
31
32
33
34
35
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=fs-uae
pkgver=2.8.3
pkgrel=0
pkgdesc="Amiga emulator."
url="https://fs-uae.net/"
arch="all"
license="GPL-2.0-only"
makedepends="zip clang-dev sdl2-dev libpng-dev libx11-dev libxi-dev openal-soft-dev linux-headers libmpeg2-dev glib-dev"
subpackages="$pkgname-lang"
source="https://fs-uae.net/stable/${pkgver}/${pkgname}-${pkgver}.tar.gz"
options="!check"

build() {
	export CC=clang
	export CXX=clang++
	unset CFLAGS CXXFLAGS
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-sdl2
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm -rf "$pkgdir"/usr/share/doc
}
sha512sums="1ccab4329a6b678a97f336b963bfaf9ea26bccccba31c90f1b7a8c2a6d3a9f343f9095733be744d4357495c808216d32c08a2bd8ce05bba73017147616d5e8cf  fs-uae-2.8.3.tar.gz"