community/mame to 0.204-2

This commit is contained in:
Kevin Mihelich 2018-12-05 00:40:22 +00:00
parent a0f30d69a0
commit 07c3fa6059
2 changed files with 5 additions and 4 deletions

View file

@ -10,7 +10,7 @@ highmem=1
pkgname=mame
pkgver=0.204
pkgrel=1
pkgrel=2
pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
url="http://mamedev.org/"
license=(GPL2)
@ -21,7 +21,7 @@ conflicts=(sdlmame)
replaces=(sdlmame)
source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz" mame.sh)
sha256sums=('eeb6e304502dc1f1ce5a9c73d59a32865fc6e374c14ecef85d85b6de98a76e42'
'e97fc02ce0ea615a3a5017b2df7f6041365779319da8beab23d74e4067ce4fe6')
'da37e17b53759f049234af393bc69c29e1e4aab58df44a9384e7f7160a49db29')
prepare() {

View file

@ -1,5 +1,5 @@
#!/bin/sh
mame=/usr/lib/mame/mame
mamelib=/usr/lib/mame/
mame_first_run() {
echo "Creating an ini file for MAME at $HOME/.mame/mame.ini"
@ -48,4 +48,5 @@ elif ! [ -e ~/.mame ]; then
) || exit
fi
exec "$mame" "$@"
cd "$mamelib"
exec ./mame "$@"