aboutsummaryrefslogtreecommitdiffstats
path: root/testing/atari800/APKBUILD
blob: 62c6a926d813bf43ab7ac73d723b2deb12ed7971 (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
30
31
32
# Contributor: Paul Bredbury <brebs@sent.com>
pkgname=atari800
pkgver=4.0.0
pkgrel=0
pkgdesc="Atari 8-bit computer emulator"
url="https://atari800.github.io/"
arch="x86_64"
license="GPL-2.0-or-later"
depends=""
makedepends="autoconf automake sdl-dev mesa-dev unzip"
options="!check" # No test suite
subpackages="$pkgname-doc"
source="https://github.com/$pkgname/$pkgname/archive/ATARI800_${pkgver//./_}.tar.gz"
builddir="$srcdir/atari800-ATARI800_${pkgver//./_}/src"

prepare() {
	default_prepare
	./autogen.sh
}

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

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

sha512sums="58725c099d421ceeadb1d37a370c61d6846827af6d87d131db3326016be48b4b1193acbc0cfdd54dc396bb97c760b6338006ca30b28a9f74eb881274056bd589  ATARI800_4_0_0.tar.gz"