summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven-Hendrik Haase2017-09-08 12:16:51 +0200
committerSven-Hendrik Haase2017-09-08 12:16:51 +0200
commita3faa3cbe356218122bef099f5bdaa4f8b23b11f (patch)
tree642b3e2b9f9423d7420f45f3a2d69aea17458617
downloadaur-a3faa3cbe356218122bef099f5bdaa4f8b23b11f.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD33
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..12aab79084f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = kazan-git
+ pkgdesc = Software-rendering Vulkan implementation
+ pkgver = 20170908
+ pkgrel = 1
+ url = http://kazan-3d.org
+ arch = i686
+ arch = x86_64
+ license = unknown
+ makedepends = git
+ makedepends = cmake
+ makedepends = clang
+ provides = kazan
+ conflicts = kazan
+ source = git+git://github.com/kazan-3d/kazan.git
+ md5sums = SKIP
+
+pkgname = kazan-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..219e7fe33bf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+pkgname=kazan-git
+pkgver=20170908
+pkgrel=1
+pkgdesc="Software-rendering Vulkan implementation"
+arch=('i686' 'x86_64')
+url="http://kazan-3d.org"
+license=('unknown')
+makedepends=('git' 'cmake' 'clang')
+provides=('kazan')
+conflicts=('kazan')
+source=('git+git://github.com/kazan-3d/kazan.git')
+md5sums=('SKIP')
+
+build() {
+ cd "${srcdir}/kazan"
+
+ [[ -d build ]] && rm -r build
+ mkdir build && cd build
+
+ export CC=clang
+ export CXX=clang++
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
+ make
+}
+
+package() {
+ cd "${srcdir}/kazan/build"
+
+ make install DESTDIR=install
+}
+
+# vim:set ts=2 sw=2 et: