# Contributor: Sebastian Wolf pkgname=advancemame pkgver=1.2 pkgrel=1 pkgdesc="A port of the MAME emulator for video hardware like TVs, Arcade monitors, PC monitors and LCD screens" arch=('i686' 'x86_64') url="http://advancemame.sourceforge.net" depends=('sdl' 'alsa-lib' 'expat' 'zlib' 'ncurses') makedepends=('nasm') license=('GPL') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('ef0cfd38e7c8859bc03ada60f51295c6') build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr || return 1 make || return 1 # Binaries install -D -m755 obj/cfg/linux/blend/advcfg $startdir/pkg/usr/bin/advcfg install -D -m755 obj/j/linux/blend/advj $startdir/pkg/usr/bin/advj install -D -m755 obj/k/linux/blend/advk $startdir/pkg/usr/bin/advk install -D -m755 obj/m/linux/blend/advm $startdir/pkg/usr/bin/advm install -D -m755 obj/mame/linux/blend/advmame $startdir/pkg/usr/bin/advmame install -D -m755 obj/s/linux/blend/advs $startdir/pkg/usr/bin/advs install -D -m755 obj/v/linux/blend/advv $startdir/pkg/usr/bin/advv # Documentation install -D -m644 doc/advcfg.1 $startdir/pkg/usr/man/man1/advcfg.1 install -D -m644 doc/advj.1 $startdir/pkg/usr/man/man1/advj.1 install -D -m644 doc/advk.1 $startdir/pkg/usr/man/man1/advk.1 install -D -m644 doc/advm.1 $startdir/pkg/usr/man/man1/advm.1 install -D -m644 doc/advmame.1 $startdir/pkg/usr/man/man1/advmame.1 install -D -m644 doc/advs.1 $startdir/pkg/usr/man/man1/advs.1 install -D -m644 doc/advv.1 $startdir/pkg/usr/man/man1/advv.1 }