PKGBUILDs/aur/advancemenu/PKGBUILD
Kevin Mihelich b69706c29d aur updates
2013-05-05 20:15:22 +00:00

26 lines
701 B
Bash

# Contributor: Sebastian Wolf <fatmike303 at googlemail dot com>
pkgname=advancemenu
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)
md5sums=('7fd97df5e7eb7675edd065a10444585f')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd $srcdir/$pkgname-$pkgver
# Binary
install -D -m755 obj/menu/linux/blend/advmenu $pkgdir/usr/bin/advmenu
# Documentation
install -D -m644 doc/advmenu.1 $pkgdir/usr/share/man/man1/advmenu.1
}