updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / sdlmame-cheats / PKGBUILD
blobcb3fdae3d8fd6011dee9f1b7b459400223476439
1 # Contributor: Anton Shestakov <engored*ya.ru>
2 # Maintainer: Anton Shestakov <engored*ya.ru>
4 pkgname=sdlmame-cheats
5 pkgver=0.144
6 pkgrel=1
7 _srcver=0144
8 pkgdesc='Official XML Cheat Collection for MAME. For use with sdlmame.'
9 url='http://www.mamecheat.co.uk/'
10 license=('unknown')
11 arch=('any')
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.")
14 makedepends=('p7zip')
15 source=("http://cheat.retrogames.com/download/cheat${_srcver}.7z")
16 install=sdlmame-cheats.install
17 md5sums=('3373a8ce9b62526d9db51e3d12c43c92')
19 build() {
20   7z x -y "cheat${_srcver}.7z"
23 package() {
24   install -Dm644 cheat.zip "$pkgdir/usr/share/sdlmame/cheat.zip"
25   install -Dm644 cheat.txt "$pkgdir/usr/share/doc/sdlmame-cheats/readme.txt"