[arch-commits] Commit in sdlmame/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Feb 27 21:56:43 UTC 2018


    Date: Tuesday, February 27, 2018 @ 21:56:42
  Author: arojas
Revision: 299473

Update to 0.195

Modified:
  sdlmame/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-27 21:35:55 UTC (rev 299472)
+++ PKGBUILD	2018-02-27 21:56:42 UTC (rev 299473)
@@ -5,7 +5,7 @@
 # Contributor: JJDaNiMoTh <jjdanimoth at gmail.com>
 
 pkgname=sdlmame
-pkgver=0.194
+pkgver=0.195
 pkgrel=1
 pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
 url="http://mamedev.org/"
@@ -12,20 +12,16 @@
 license=(GPL2)
 arch=(x86_64)
 depends=(sdl2 libxinerama sdl2_ttf alsa-lib qt5-base)
-makedepends=(unzip nasm mesa wget python2)
-source=("https://github.com/mamedev/mame/releases/download/mame${pkgver/./}/mame${pkgver/./}s.zip"
+makedepends=(nasm mesa wget python2)
+source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz"
 	"sdlmame.sh"
-	"extras.tar.gz"
-	${_patches})
-sha256sums=('fe3d848e25d4addfa3bbad8c16e3560193efef707690770a4e5364bfccbc296e'
+	"extras.tar.gz")
+sha256sums=('b18d0e23ecf6b218c43a6770213c850b3c605ead9d29301de34101ed14c28a57'
             '06e7f5dca2255a16b3336a6d2b9af8276a8d8c672635aed83e9e8f636db3cef7'
             '5ba55ce8c33743207a12a7509efdf13dd98f5d87fa12f0e471ea523d3ae4f4ac')
 
-prepare() {
-  echo "A" | unzip mame.zip || true
-}
-
 build() {
+  cd mame-mame${pkgver/./}
   make \
     NOWERROR=1 \
     OPTIMIZE=2 \
@@ -36,6 +32,8 @@
 }
 
 package() {
+  cd mame-mame${pkgver/./}
+
   # Install the sdlmame script
   install -Dm755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
 



More information about the arch-commits mailing list