aboutsummaryrefslogtreecommitdiffstats
path: root/testing/atari800/APKBUILD
blob: 4d8b3273fadb44ea145698ab609987488791b9ed (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.1.0
pkgrel=0
pkgdesc="Atari 8-bit computer emulator"
url="https://atari800.github.io/"
arch="x86_64"
license="GPL-2.0-or-later"
makedepends="autoconf automake sdl-dev mesa-dev unzip"
options="!check" # No test suite
subpackages="$pkgname-doc"
source="https://github.com/atari800/atari800/archive/ATARI800_${pkgver//./_}.tar.gz
	onscreenkeyboard.patch::https://github.com/atari800/atari800/commit/5c6410cca5accc9540e461d312e9becf64a67baa.patch
	"
builddir="$srcdir/atari800-ATARI800_${pkgver//./_}"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure --prefix=/usr
	make
}

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

sha512sums="a93ff5380d1e5fcdaf1e88eb63e89f4b2228314836dc71d1591ec2699cad9f775d2ea47b46b4be2620a0b65ed7b1b4c019715d647ddda94155c96770defed23c  ATARI800_4_1_0.tar.gz
84c666a4d594b4d195a170db511f029bc0c0ef8bddf8c74847599b7b2ce168bc9bdd7960b9c7b6301a64cb00793ff3f5f79293d159cb54869f977a4cdff345f4  onscreenkeyboard.patch"