summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Jaksch2016-03-09 19:24:31 +0100
committerOliver Jaksch2016-03-09 19:24:31 +0100
commitf9bcca6a9d48231218d84567adc973f0f8bf6865 (patch)
treeb55da9feea84724d25bc8224e52ffbc92a506abe
downloadaur-f9bcca6a9d48231218d84567adc973f0f8bf6865.tar.gz
Initial commit
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD34
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9ec2125b35a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v8
+# Wed Mar 9 18:24:31 UTC 2016
+pkgbase = libretro-craft-git
+ pkgdesc = A simple Minecraft clone written in C using modern OpenGL (shaders)
+ pkgver = 845.49b09d1
+ pkgrel = 1
+ url = https://github.com/libretro/Craft
+ arch = i686
+ arch = x86_64
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ license = custom:Craft License
+ makedepends = git
+ makedepends = cmake
+ makedepends = glfw
+ depends = zlib
+ depends = glew
+ source = git+https://github.com/libretro/Craft.git
+ source = https://raw.github.com/libretro/libretro-super/master/dist/info/craft_libretro.info
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = libretro-craft-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..97aab9c50e8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Oliver Jaksch <arch-aur@com-in.de>
+
+pkgname=libretro-craft-git
+pkgver=845.49b09d1
+pkgrel=1
+pkgdesc="A simple Minecraft clone written in C using modern OpenGL (shaders)"
+arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
+url="https://github.com/libretro/Craft"
+license=('custom:Craft License')
+depends=('zlib' 'glew')
+makedepends=('git' 'cmake' 'glfw')
+
+_libname=craft_libretro
+_gitname=Craft
+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 -f Makefile.libretro
+}
+
+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.md" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+}