updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / cxmame / PKGBUILD
blobe485e7504e10a01c3ea4af7ba3a60f183df565ec
1 # Contributor: Leandro Chescotta <leandro.chescotta@gmail.com>
2 pkgname=cxmame
3 pkgver=0.4.2
4 pkgrel=1
5 pkgdesc="CXmame is a simple console based frontend for xmame, written in C using the ncurses library"
6 arch=('i686' 'x86_64')
7 url="http://yeeking.net/cxmame/"
8 license=('GPL')
9 groups=()
10 depends=('ncurses')
11 makedepends=()
12 provides=('cxmame')
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=cxmame.install
18 source=(http://yeeking.net/cxmame/files/$pkgname-$pkgver.src.tar.bz2)
19 noextract=()
20 md5sums=('b8242450d947db73e35bcb602a71cba7') #generate with 'makepkg -g'
22 build() {
23     cd "$srcdir/$pkgname-$pkgver"
24     # correct location of install in the Makefile
25     sed -i 's/\/usr\/bin\/install/\/bin\/install/' Makefile
26     # create intended target directory
27     install -m755 -d $pkgdir/usr/bin
29     make || return 1
30     make INSTALL_DIR=$pkgdir/usr/bin install || return 1