[arch-commits] Commit in mame/trunk (PKGBUILD mame.sh)

Antonio Rojas arojas at archlinux.org
Tue Dec 4 22:24:01 UTC 2018


    Date: Tuesday, December 4, 2018 @ 22:24:00
  Author: arojas
Revision: 411231

Fix path in launcher script (FS#60968)

Modified:
  mame/trunk/PKGBUILD
  mame/trunk/mame.sh

----------+
 PKGBUILD |    4 ++--
 mame.sh  |    5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-04 21:20:37 UTC (rev 411230)
+++ PKGBUILD	2018-12-04 22:24:00 UTC (rev 411231)
@@ -5,7 +5,7 @@
 
 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)
@@ -16,7 +16,7 @@
 replaces=(sdlmame)
 source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz" mame.sh)
 sha256sums=('eeb6e304502dc1f1ce5a9c73d59a32865fc6e374c14ecef85d85b6de98a76e42'
-            'e97fc02ce0ea615a3a5017b2df7f6041365779319da8beab23d74e4067ce4fe6')
+            'da37e17b53759f049234af393bc69c29e1e4aab58df44a9384e7f7160a49db29')
 
 
 prepare() {

Modified: mame.sh
===================================================================
--- mame.sh	2018-12-04 21:20:37 UTC (rev 411230)
+++ mame.sh	2018-12-04 22:24:00 UTC (rev 411231)
@@ -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 @@
   ) || exit
 fi
 
-exec "$mame" "$@"
+cd "$mamelib"
+exec ./mame "$@"



More information about the arch-commits mailing list