1 # Contributor: Sebastian Wolf <fatmike303 at googlemail dot com>
6 pkgdesc="A port of the MAME emulator for Arcade Monitors and TVs but also for normal PC Monitors"
8 url="http://advancemame.sourceforge.net"
9 depends=('sdl' 'alsa-lib' 'expat' 'zlib' 'ncurses')
12 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('dc0997a36efe9263ca1d072ab417a318')
16 cd $startdir/src/$pkgname-$pkgver
17 ./configure --prefix=/usr || return 1
21 install -D -m755 obj/cfg/linux/blend/advcfg $startdir/pkg/usr/bin/advcfg
22 install -D -m755 obj/j/linux/blend/advj $startdir/pkg/usr/bin/advj
23 install -D -m755 obj/k/linux/blend/advk $startdir/pkg/usr/bin/advk
24 install -D -m755 obj/m/linux/blend/advm $startdir/pkg/usr/bin/advm
25 install -D -m755 obj/mame/linux/blend/advmame $startdir/pkg/usr/bin/advmame
26 install -D -m755 obj/s/linux/blend/advs $startdir/pkg/usr/bin/advs
27 install -D -m755 obj/v/linux/blend/advv $startdir/pkg/usr/bin/advv
30 install -D -m644 doc/advcfg.1 $startdir/pkg/usr/man/man1/advcfg.1
31 install -D -m644 doc/advj.1 $startdir/pkg/usr/man/man1/advj.1
32 install -D -m644 doc/advk.1 $startdir/pkg/usr/man/man1/advk.1
33 install -D -m644 doc/advm.1 $startdir/pkg/usr/man/man1/advm.1
34 install -D -m644 doc/advmame.1 $startdir/pkg/usr/man/man1/advmame.1
35 install -D -m644 doc/advs.1 $startdir/pkg/usr/man/man1/advs.1
36 install -D -m644 doc/advv.1 $startdir/pkg/usr/man/man1/advv.1