summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD32
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0068fc06fa1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+# Generated by mksrcinfo v8
+# Fri Feb 22 11:55:25 UTC 2019
+pkgbase = libretro-mame2015-git
+ pkgdesc = Late 2014/Early 2015 version of MAME (0.160-ish) for libretro. Compatible with MAME 0.160 romsets (Arcade)
+ pkgver = 35228.80a2e82cf9
+ pkgrel = 1
+ url = https://github.com/libretro/mame2015-libretro
+ arch = i686
+ arch = x86_64
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ groups = libretro
+ license = custom:MAME License
+ makedepends = git
+ makedepends = python2
+ depends = zlib
+ depends = glibc
+ depends = libretro-core-info
+ source = git+https://github.com/libretro/mame2015-libretro.git
+ sha256sums = SKIP
+
+pkgname = libretro-mame2015-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f9badc0ae82
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Oliver Jaksch <arch-aur@com-in.de>
+
+pkgname=libretro-mame2015-git
+pkgver=35228.80a2e82cf9
+pkgrel=1
+arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
+pkgdesc="Late 2014/Early 2015 version of MAME (0.160-ish) for libretro. Compatible with MAME 0.160 romsets (Arcade)"
+url="https://github.com/libretro/mame2015-libretro"
+license=('custom:MAME License')
+groups=('libretro')
+depends=('zlib' 'glibc' 'libretro-core-info')
+makedepends=('git' 'python2')
+
+_libname=mame2015_libretro
+_gitname=mame2015-libretro
+source=("git+https://github.com/libretro/${_gitname}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${_gitname}"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "${_gitname}"
+ make -f Makefile
+}
+
+package() {
+ install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libname}.so"
+ install -Dm644 "${_gitname}/docs/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+}