summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD27
3 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..389f682658e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = gpuvis-git
+ pkgver = r859.5b8f4bc
+ pkgrel = 1
+ url = https://github.com/mikesart/gpuvis
+ arch = x86_64
+ license = MIT
+ source = https://github.com/mikesart/gpuvis
+ sha1sums = SKIP
+
+pkgname = gpuvis-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0f2f4a98c5b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.pkg.*
+/gpuvis/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7410ae048aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
+
+pkgname=gpuvis-git
+pkgver=r859.5b8f4bc
+pkgrel=1
+pkgdesc=""
+arch=(x86_64)
+url="https://github.com/mikesart/gpuvis"
+license=('MIT')
+source=("git+$url")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir"/gpuvis
+ printf "r%d.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir"/gpuvis
+ make
+}
+
+package() {
+ cd "$srcdir"/gpuvis
+ install -dm755 "$pkgdir/usr/bin/"
+ install -m755 _release/gpuvis "$pkgdir/usr/bin/"
+}