[arch-commits] Commit in mame/trunk (PKGBUILD mame.sh)
Antonio Rojas
arojas at archlinux.org
Wed Apr 24 11:08:16 UTC 2019
Date: Wednesday, April 24, 2019 @ 11:08:16
Author: arojas
Revision: 453276
Update to 0.209
Modified:
mame/trunk/PKGBUILD
mame/trunk/mame.sh
----------+
PKGBUILD | 6 +++---
mame.sh | 15 +++++++++------
2 files changed, 12 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-24 10:34:31 UTC (rev 453275)
+++ PKGBUILD 2019-04-24 11:08:16 UTC (rev 453276)
@@ -4,7 +4,7 @@
# Contributor: JJDaNiMoTh <jjdanimoth at gmail.com>
pkgname=mame
-pkgver=0.208
+pkgver=0.209
pkgrel=1
pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
url="https://mamedev.org/"
@@ -15,8 +15,8 @@
conflicts=(sdlmame)
replaces=(sdlmame)
source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz" mame.sh)
-sha256sums=('d02dba8e144ac11878226ef48aa8e4d30a33d77dd72210f84e9803908c70e8b2'
- 'da37e17b53759f049234af393bc69c29e1e4aab58df44a9384e7f7160a49db29')
+sha256sums=('9442e88bd87cfe407eb093a2ecb42a3850cabe31cd52c4efdef1bf7f584a8eab'
+ 'ee1c59bafc5e5441e99fa4c58108a3e18048e60672f34de865c8a5a976094dba')
prepare() {
Modified: mame.sh
===================================================================
--- mame.sh 2019-04-24 10:34:31 UTC (rev 453275)
+++ mame.sh 2019-04-24 11:08:16 UTC (rev 453276)
@@ -1,5 +1,5 @@
#!/bin/sh
-mamelib=/usr/lib/mame/
+mame=/usr/lib/mame/mame
mame_first_run() {
echo "Creating an ini file for MAME at $HOME/.mame/mame.ini"
@@ -17,8 +17,12 @@
# strings verbatim into its configuration file, and expand the variables when
# it is run in future.
"$mame" \
- -artpath '$HOME/.mame/artwork;artwork' \
- -ctrlrpath '$HOME/.mame/ctrlr;ctrlr' \
+ -artpath '$HOME/.mame/artwork;/usr/lib/mame/artwork' \
+ -bgfx_path '$HOME/.mame/bgfx;/usr/lib/mame/bgfx' \
+ -ctrlrpath '$HOME/.mame/ctrlr;/usr/lib/mame/ctrlr' \
+ -hashpath '$HOME/.mame/hash;/usr/lib/mame/hash' \
+ -languagepath '$HOME/.mame/language;/usr/lib/mame/language' \
+ -pluginspath '/usr/lib/mame/plugins' \
-inipath '$HOME/.mame/ini' \
-rompath '$HOME/.mame/roms' \
-samplepath '$HOME/.mame/samples' \
@@ -42,11 +46,10 @@
mkdir -- ~/.mame
(
cd -- ~/.mame || exit
- mkdir artwork cfg comments ctrlr diff ini inp nvram samples snap sta roms
+ mkdir artwork bgfx cfg comments ctrlr diff hash ini inp language nvram samples snap sta roms
mame_first_run
) || exit
fi
-cd "$mamelib"
-exec ./mame "$@"
+exec "$mame" "$@"
More information about the arch-commits
mailing list