PKGBUILDs/aur/advancemenu/PKGBUILD

27 lines
701 B
Bash
Raw Normal View History

# Contributor: Sebastian Wolf <fatmike303 at googlemail dot com>
pkgname=advancemenu
2013-05-05 20:15:22 +00:00
pkgver=2.6
pkgrel=1
pkgdesc="A frontend for AdvanceMAME emulator"
arch=('i686' 'x86_64')
url="http://advancemame.sourceforge.net"
depends=('advancemame')
license=('GPL')
source=(http://downloads.sourceforge.net/sourceforge/advancemame/$pkgname-$pkgver.tar.gz)
2013-05-05 20:15:22 +00:00
md5sums=('7fd97df5e7eb7675edd065a10444585f')
build() {
2013-05-05 20:15:22 +00:00
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
2013-05-05 20:15:22 +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
# Documentation
2013-05-05 20:15:22 +00:00
install -D -m644 doc/advmenu.1 $pkgdir/usr/share/man/man1/advmenu.1
}