summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew T Hoare2018-05-06 17:42:13 +0100
committerMatthew T Hoare2018-05-06 17:42:13 +0100
commit853518755297a7d1398f0fcff45647874206c194 (patch)
tree6c07bca5042ddac0393d3910fc50555bcc446287
downloadaur-853518755297a7d1398f0fcff45647874206c194.tar.gz
First commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD33
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6475a0bffc9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = tungsten-renderer-git
+ pkgdesc = High performance physically based renderer
+ pkgver = r963.deaf069
+ pkgrel = 1
+ url = https://github.com/tunabrain/tungsten
+ arch = x86_64
+ license = GPL
+ makedepends = gcc<8.1.0-1
+ makedepends = cmake
+ makedepends = git
+ provides = tungsten-renderer
+ conflicts = tungsten-renderer
+ source = tungsten::git+https://github.com/tunabrain/tungsten#branch=master
+ sha512sums = SKIP
+
+pkgname = tungsten-renderer-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4bd3a792018
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Matthew T Hoare <matthew.t.hoare dot gmail at com>
+
+pkgname=tungsten-renderer-git
+_pkgname=tungsten
+pkgver=r963.deaf069
+pkgrel=1
+pkgdesc='High performance physically based renderer'
+arch=('x86_64')
+url="https://github.com/tunabrain/${_pkgname}"
+license=('GPL')
+makedepends=('gcc<8.1.0-1' 'cmake' 'git')
+conflicts=('tungsten-renderer')
+provides=('tungsten-renderer')
+source=("${_pkgname}::git+https://github.com/tunabrain/tungsten#branch=master")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "${_pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${_pkgname}"
+ ./setup_builds.sh
+ cd build/release
+ make
+}
+
+package() {
+ cd "${_pkgname}/build/release"
+ make DESTDIR="{pkgdir}/" install
+}
+