1 # Contributor: Anton Shestakov <engored*ya.ru>
2 # Maintainer: Anton Shestakov <engored*ya.ru>
8 pkgdesc='Official XML Cheat Collection for MAME. For use with sdlmame.'
9 url='http://www.mamecheat.co.uk/'
12 depends=('sdlmame>=0.127') # XML cheat engine since 0.127
13 optdepends=("sdlmame>=$pkgver: this package is best used with up-to-date version of sdlmame.")
15 source=("http://cheat.retrogames.com/download/cheat${_srcver}.7z")
16 install=sdlmame-cheats.install
17 md5sums=('3373a8ce9b62526d9db51e3d12c43c92')
20 7z x -y "cheat${_srcver}.7z"
24 install -Dm644 cheat.zip "$pkgdir/usr/share/sdlmame/cheat.zip"
25 install -Dm644 cheat.txt "$pkgdir/usr/share/doc/sdlmame-cheats/readme.txt"