blob: 380f1dc4c56b4ea0c6102bb191a02bc9fa2d494c (
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
40
41
42
43
44
45
46
|
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=advancemame
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 $pkgname-data"
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 \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-sdl2
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
}
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"
|