aboutsummaryrefslogtreecommitdiffstats
path: root/testing/advancemame
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2017-12-12 19:10:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-12-19 14:10:31 +0000
commit28cf867189acd9e73db86629d4e6690f7a50ce2f (patch)
treec33ca18d3cc593b510caccb170d10eaf740262b1 /testing/advancemame
parentac309a49e5941a677e3294b91f7396e2c4f5c808 (diff)
downloadaports-28cf867189acd9e73db86629d4e6690f7a50ce2f.tar.bz2
aports-28cf867189acd9e73db86629d4e6690f7a50ce2f.tar.xz
testing/advancemame: upgrade to 3.6, separate data package
Diffstat (limited to 'testing/advancemame')
-rw-r--r--testing/advancemame/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/testing/advancemame/APKBUILD b/testing/advancemame/APKBUILD
index cf2c8b9b13..e74ca706dd 100644
--- a/testing/advancemame/APKBUILD
+++ b/testing/advancemame/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=advancemame
-pkgver=3.5
+pkgver=3.6
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"
+subpackages="$pkgname-doc $pkgname-data"
source="https://github.com/amadvance/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
options="!check"
@@ -19,7 +19,6 @@ build() {
cd "$builddir"
./configure \
--build=$CBUILD \
- --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -37,4 +36,11 @@ package() {
install
}
-sha512sums="5deeadbbdc4fd61c8fbfdcf22e3c846523c77afaf3d2ff7759d3c0d723fec8549020c67883505eea3b19ada3f1f20ef455013c0ef696c669b4e3c4b1f48178b9 advancemame-3.5.tar.gz"
+data() {
+ pkgdesc="Distrubition files for advancemame"
+ depends="$pkgname"
+ mkdir -p "$subpkgdir"/usr/share/advance
+ mv "$pkgdir"/usr/share/advance/* "$subpkgdir"/usr/share/advance/
+}
+
+sha512sums="4693d993c7cd6333fc1a484c83d280227005b5e2aa79c70f8d12373615bab161f41703686cf6c0088ed4f2224801bf88d1ea9bb7d6bf93c37c58e16cfa896687 advancemame-3.6.tar.gz"