updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / ckmame / PKGBUILD
blob0b9e8ad43e38cfd58e571e0fcae32ac30a72d6fa
1 # Maintainer: Krzysztof Wloch <wloszekk@gmail.com>
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: demonicmaniac <stormtrooperofdeath@gmx.net>
5 pkgname=ckmame
6 pkgver=0.11
7 pkgrel=1
8 pkgdesc="A program to check ROM sets for MAME"
9 arch=('i686' 'x86_64')
10 url="http://www.nih.at/ckmame/"
11 license=('custom')
12 depends=('libzip' 'sqlite3' 'libxml2')
13 source=(http://www.nih.at/$pkgname/$pkgname-$pkgver.tar.bz2)
14 md5sums=('e41e8f81d5051eb074137f8a41f9e007')
16 build() {
17   cd "$srcdir"/$pkgname-$pkgver
19   # make and install
20   ./configure --prefix=/usr || return 1
21   make || return 1
22   make DESTDIR="$pkgdir" install || return 1
24   # install license
25   sed -n "/  Copyright/,/SUCH DAMAGE/p" src/ckmame.c > COPYING
26   install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING