diff options
author | Alfonso Saavedra "Son Link | 2018-04-19 13:19:56 +0200 |
---|---|---|
committer | Alfonso Saavedra "Son Link | 2018-04-19 13:19:56 +0200 |
commit | 069ff5673c0cb2e0c3d7fc8a2fc9f8343eca3450 (patch) | |
tree | d421c2b7380a16538cd32b94997eaf4302f72331 | |
download | aur-069ff5673c0cb2e0c3d7fc8a2fc9f8343eca3450.tar.gz |
Adding this package to AUR
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dc64b06e5e46 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = libretro-mame2003-plus-git + pkgdesc = Updated 2018 version of MAME (0.78) for libretro. with added game support plus many fixes and improvements + pkgver = 1256.8c60337 + pkgrel = 1 + url = https://github.com/libretro/mame2003-plus-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/mame2003-plus-libretro.git + source = https://raw.githubusercontent.com/libretro/mame/master/docs/LICENSE + sha256sums = SKIP + sha256sums = SKIP + +pkgname = libretro-mame2003-plus-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4d7e5a9b46b2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Alfonso Saavedra "Son Link" <sonlink.dourden@gmail.com> + +pkgname=libretro-mame2003-plus-git +pkgver=1256.8c60337 +pkgrel=1 +arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') +pkgdesc="Updated 2018 version of MAME (0.78) for libretro. with added game support plus many fixes and improvements" +url="https://github.com/libretro/mame2003-plus-libretro" +license=('custom:MAME License') +groups=('libretro') +depends=('zlib' 'glibc' 'libretro-core-info') +makedepends=('git' 'python2') + +_libname=mame2003-plus_libretro +_gitname=mame2003-plus-libretro +source=("git+https://github.com/libretro/${_gitname}.git" + "https://raw.githubusercontent.com/libretro/mame/master/docs/LICENSE") +sha256sums=('SKIP' + '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 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" +} |