aboutsummaryrefslogtreecommitdiffstats
path: root/testing/advancescan/APKBUILD
blob: 4c5c65d0f75e8ab20e09d2701eb7de824096bf89 (plain)
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
33
34
35
36
37
38
39
# Maintainer: Taner Tas <taner76@gmail.com>
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"