aboutsummaryrefslogtreecommitdiffstats
path: root/testing/advancemame/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/advancemame/APKBUILD')
-rw-r--r--testing/advancemame/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/advancemame/APKBUILD b/testing/advancemame/APKBUILD
new file mode 100644
index 0000000000..cf2c8b9b13
--- /dev/null
+++ b/testing/advancemame/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Taner Tas <taner76@gmail.com>
+pkgname=advancemame
+pkgver=3.5
+pkgrel=0
+pkgdesc="A port of the MAME and MESS emulators for Arcade Monitors and TVs but also for LCDs and PC monitors"
+url="http://www.advancemame.it"
+arch="all"
+license="GPL"
+makedepends="sdl2-dev alsa-lib-dev freetype-dev zlib-dev expat-dev slang-dev"
+subpackages="$pkgname-doc"
+source="https://github.com/amadvance/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+options="!check"
+
+prepare() {
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-sdl2
+ make -j4
+}
+
+package() {
+ cd "$builddir"
+ make bindir="${pkgdir}/usr/bin/" \
+ datadir="${pkgdir}/usr/share/" \
+ mandir="${pkgdir}/usr/share/man/" \
+ pkgdocdir="${pkgdir}/usr/share/doc/${pkgname}/" \
+ install
+}
+
+sha512sums="5deeadbbdc4fd61c8fbfdcf22e3c846523c77afaf3d2ff7759d3c0d723fec8549020c67883505eea3b19ada3f1f20ef455013c0ef696c669b4e3c4b1f48178b9 advancemame-3.5.tar.gz"