summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMartin Doege2016-07-30 00:18:05 +0200
committerMartin Doege2016-07-30 00:18:05 +0200
commitd5b9e38c02032bae3c39524c4260db689a33ff23 (patch)
treecf75c0be234580cf2ba36464c24aa28bb2eedfbd /PKGBUILD
downloadaur-d5b9e38c02032bae3c39524c4260db689a33ff23.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..620c0e9afe6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Martin C. Doege <mdoege at compuserve dot com>
+# Contributor: Anton Shestakov <engored*ya.ru>
+# Contributor: listx <linusarver <at> gmail <dot> 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"
+}
+