diff options
author | Oliver Jaksch | 2016-09-11 13:03:20 +0200 |
---|---|---|
committer | Oliver Jaksch | 2016-09-11 13:03:20 +0200 |
commit | 25503adb0ce44fd2a700eaa77d2353546cf64c48 (patch) | |
tree | a20f172808ddd7acb32840d54b34c1ceaa198f15 | |
download | aur-25503adb0ce44fd2a700eaa77d2353546cf64c48.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3ef49612ce06 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by mksrcinfo v8 +# Sun Sep 11 11:03:20 UTC 2016 +pkgbase = libretro-gw-git + pkgdesc = gw-libretro is a libretro core that runs Game & Watch simulators + pkgver = 157.284b15c + pkgrel = 1 + url = https://github.com/libretro/gw-libretro + arch = i686 + arch = x86_64 + arch = arm + arch = armv6h + arch = armv7h + license = custom:zlib + makedepends = git + depends = zlib + source = git+https://github.com/libretro/gw-libretro.git + source = https://raw.github.com/libretro/libretro-super/master/dist/info/gw_libretro.info + sha256sums = SKIP + sha256sums = SKIP + +pkgname = libretro-gw-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4aa854208885 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Oliver Jaksch <arch-aur@com-in.de> + +pkgname=libretro-gw-git +pkgver=157.284b15c +pkgrel=1 +pkgdesc="gw-libretro is a libretro core that runs Game & Watch simulators" +arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') +url="https://github.com/libretro/gw-libretro" +license=('custom:zlib') +depends=('zlib') +makedepends=('git') + +_libname=gw_libretro +_gitname=gw-libretro +source=("git+https://github.com/libretro/${_gitname}.git" + "https://raw.github.com/libretro/libretro-super/master/dist/info/${_libname}.info") +sha256sums=('SKIP' + 'SKIP') + +pkgver() { + cd "${_gitname}" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "${_gitname}" + make +} + +package() { + install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libname}.so" + install -Dm644 "${_libname}.info" "${pkgdir}/usr/lib/libretro/${_libname}.info" + install -Dm644 "${_gitname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" +} |