mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
sdlmame: fix the sdlmame script.
This commit is contained in:
parent
5661218d09
commit
0912ffe6e5
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec_make() {
|
||||
exec_mame() {
|
||||
/usr/share/sdlmame/sdlmame \
|
||||
-artpath "$HOME/.mame/artwork;artwork" \
|
||||
-ctrlrpath "$HOME/.mame/ctrlr;ctrlr" \
|
||||
|
@ -28,7 +28,7 @@ if [ "$1" = "--newini" ]; then
|
|||
echo "Your old ini file has been renamed to sdlmameini.bak"
|
||||
mv sdlmame.ini sdlmameini.bak
|
||||
fi
|
||||
exec_make
|
||||
exec_mame
|
||||
elif [ ! -e $HOME/.mame ]; then
|
||||
echo "Running SDLMAME for the first time..."
|
||||
echo "Creating an ini file for SDLMAME at $HOME/.mame/sdlmame.ini"
|
||||
|
|
|
@ -3,7 +3,7 @@ pkgname=sdlmame
|
|||
_distver=0155
|
||||
_patchver=0
|
||||
version=${_distver}u${_patchver}
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=mame-${_distver}s
|
||||
homepage="http://mamedev.org"
|
||||
distfiles="${homepage}/downloader.php?file=releases/mame${_distver}s.zip"
|
||||
|
|
Loading…
Add table
Reference in a new issue