diff --git a/testing/atari800/APKBUILD b/testing/atari800/APKBUILD new file mode 100644 index 0000000000000000000000000000000000000000..62c6a926d813bf43ab7ac73d723b2deb12ed7971 --- /dev/null +++ b/testing/atari800/APKBUILD @@ -0,0 +1,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"