1 # Maintainer: Krzysztof Wloch <wloszekk@gmail.com>
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: demonicmaniac <stormtrooperofdeath@gmx.net>
8 pkgdesc="A program to check ROM sets for MAME"
10 url="http://www.nih.at/ckmame/"
12 depends=('libzip' 'sqlite3' 'libxml2')
13 source=(http://www.nih.at/$pkgname/$pkgname-$pkgver.tar.bz2)
14 md5sums=('e41e8f81d5051eb074137f8a41f9e007')
17 cd "$srcdir"/$pkgname-$pkgver
20 ./configure --prefix=/usr || return 1
22 make DESTDIR="$pkgdir" install || return 1
25 sed -n "/ Copyright/,/SUCH DAMAGE/p" src/ckmame.c > COPYING
26 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING