summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
-rw-r--r--sdlmame-cheats.install3
3 files changed, 9 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8735f9c55582..c11c5ef5dbc2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
-# Generated by mksrcinfo v8
-# Tue Jul 11 13:51:24 UTC 2017
pkgbase = sdlmame-cheats
pkgdesc = Official XML Cheat Collection for MAME
pkgver = 0.187
- pkgrel = 1
+ pkgrel = 2
url = http://www.mamecheat.co.uk/
install = sdlmame-cheats.install
arch = any
license = unknown
makedepends = unzip
- depends = sdlmame>=0.145u1
- optdepends = sdlmame>=0.187: this package is best used with an up-to-date version of sdlmame.
+ depends = mame>=0.145u1
+ optdepends = mame>=0.187: this package is best used with an up-to-date version of mame.
source = http://cheat.retrogames.com/download/cheat0187.zip
sha1sums = 45077766f3fed69d0499ea88abf08de2c1b40afb
diff --git a/PKGBUILD b/PKGBUILD
index 4f6b76ff263b..28c4251459c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,14 @@
pkgname=sdlmame-cheats
pkgver=0.187
-pkgrel=1
+pkgrel=2
_srcver=0187
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.")
+depends=('mame>=0.145u1') # XML cheat engine since 0.127, 7z support since 0.145u1
+optdepends=("mame>=$pkgver: this package is best used with an up-to-date version of mame.")
makedepends=('unzip')
source=("http://cheat.retrogames.com/download/cheat${_srcver}.zip")
install=sdlmame-cheats.install
@@ -22,7 +22,7 @@ build() {
}
package() {
- install -Dm644 cheat.7z "$pkgdir/usr/share/sdlmame/cheat.7z"
+ install -Dm644 cheat.7z "$pkgdir/usr/share/mame/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"
}
diff --git a/sdlmame-cheats.install b/sdlmame-cheats.install
index 873e38b8e1c0..0fb5f800bae1 100644
--- a/sdlmame-cheats.install
+++ b/sdlmame-cheats.install
@@ -1,5 +1,6 @@
post_install()
{
- echo "Add this line to ~/.mame/mame.ini:"
+ echo "Add these lines to ~/.mame/mame.ini:"
+ echo " plugin cheat"
echo " cheat 1"
}