2013-03-16 16:01:26 +00:00
|
|
|
# Contributor: Sebastian Wolf <fatmike303 at googlemail dot com>
|
|
|
|
|
|
|
|
pkgname=advancemenu
|
2014-06-21 02:55:50 +00:00
|
|
|
pkgver=2.7
|
2013-03-16 16:01:26 +00:00
|
|
|
pkgrel=1
|
2014-06-21 02:55:50 +00:00
|
|
|
pkgdesc="Emulator frontend with sound and animated previews of your games"
|
2013-03-16 16:01:26 +00:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://advancemame.sourceforge.net"
|
2014-06-21 02:55:50 +00:00
|
|
|
optdepends=('advancemame' 'sdlmame' 'sdlmess')
|
2013-03-16 16:01:26 +00:00
|
|
|
license=('GPL')
|
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/advancemame/$pkgname-$pkgver.tar.gz)
|
2014-06-21 02:55:50 +00:00
|
|
|
md5sums=('aa2dc9fb1f795420c92af8cc4dd5d938')
|
2013-03-16 16:01:26 +00:00
|
|
|
|
|
|
|
build() {
|
2013-05-05 20:15:22 +00:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2013-03-16 16:01:26 +00:00
|
|
|
./configure --prefix=/usr || return 1
|
|
|
|
make || return 1
|
2013-05-05 20:15:22 +00:00
|
|
|
}
|
2013-03-16 16:01:26 +00:00
|
|
|
|
2013-05-05 20:15:22 +00:00
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
# Binary
|
|
|
|
install -D -m755 obj/menu/linux/blend/advmenu $pkgdir/usr/bin/advmenu
|
2014-06-21 02:55:50 +00:00
|
|
|
# Manpage
|
2013-05-05 20:15:22 +00:00
|
|
|
install -D -m644 doc/advmenu.1 $pkgdir/usr/share/man/man1/advmenu.1
|
2014-06-21 02:55:50 +00:00
|
|
|
# Documentation
|
|
|
|
install -D -m644 doc/advmenu.txt $pkgdir/usr/share/doc/advmenu/advmenu.txt
|
2013-03-16 16:01:26 +00:00
|
|
|
}
|