# Maintainer: Martin C. Doege # Contributor: Anton Shestakov # Contributor: listx gmail com> pkgname=sdlmame-cheats pkgver=0.174 pkgrel=1 _srcver=0174 pkgdesc='Official XML Cheat Collection for MAME' url='http://www.mamecheat.co.uk/' license=('unknown') arch=('any') depends=('sdlmame>=0.145u1') # XML cheat engine since 0.127, 7z support since 0.145u1 optdepends=("sdlmame>=$pkgver: this package is best used with an up-to-date version of sdlmame.") makedepends=('unzip') source=("http://cheat.retrogames.com/download/cheat${_srcver}.zip") install=sdlmame-cheats.install sha1sums=('SKIP') build() { unzip -of "cheat${_srcver}.zip" } package() { install -Dm644 cheat.7z "$pkgdir/usr/share/sdlmame/cheat.7z" install -Dm644 cheat.txt "$pkgdir/usr/share/doc/sdlmame-cheats/cheat.txt" install -Dm644 "!README_FIRST!!.txt" "$pkgdir/usr/share/doc/sdlmame-cheats/!README_FIRST!!.txt" }