Subject: [alpine-aports] [PATCH] testing/advancescan: new aport

From: Taner Tas <[email-masked]>
Date: Sat, 9 Dec 2017 21:52:14 +0000

http://www.advancemame.it
Command line rom manager for AdvanceMAME and AdvanceMESS
---
 testing/advancescan/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 testing/advancescan/APKBUILD

diff --git a/testing/advancescan/APKBUILD b/testing/advancescan/APKBUILD
new file mode 100644
index 000000000..4c5c65d0f
--- /dev/null
+++ b/testing/advancescan/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Taner Tas <[email-masked]>
+pkgname=advancescan
+pkgver=1.18
+pkgrel=0
+pkgdesc="Command line rom manager for AdvanceMAME and AdvanceMESS"
+url="http://www.advancemame.it"
+arch="all"
+license="GPL"
+makedepends="zlib-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 \
+	make
+}
+
+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="ad7529fb2dd625f8d5aa5f5d1cabfbeb5612b1da6e0952a451abd162a95aadf616b74b2bf5b6c4963188cea1267394f2ee84c3f47a323d345d285e9c63622889  advancescan-1.18.tar.gz"
-- 
2.15.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---