updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / advancemame / PKGBUILD
blob33b8f19cf3253df44646845bf7c644397dcfcd0e
1 # Contributor: Sebastian Wolf <fatmike303 at googlemail dot com>
3 pkgname=advancemame
4 pkgver=0.106.1
5 pkgrel=1
6 pkgdesc="A port of the MAME emulator for Arcade Monitors and TVs but also for normal PC Monitors"
7 arch=('i686' 'x86_64')
8 url="http://advancemame.sourceforge.net"
9 depends=('sdl' 'alsa-lib' 'expat' 'zlib' 'ncurses')
10 makedepends=('nasm')
11 license=('GPL')
12 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('dc0997a36efe9263ca1d072ab417a318')
15 build() {
16         cd $startdir/src/$pkgname-$pkgver
17         ./configure --prefix=/usr || return 1
18         make || return 1
20         # Binaries
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
29         # Documentation
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