summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Bero2020-01-27 20:19:13 -0600
committerChristopher Bero2020-01-27 20:19:13 -0600
commit334584c17b250a98c4b096be294649b1ac2fc73d (patch)
tree8bc3db5d46fc0aed02cb3cd74e17e3c99abe1f06
downloadaur-kinect-3d-git.tar.gz
Initial pkgbuild
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..72b135b1005
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = kinect-3d-git
+ pkgdesc = Kinect 3D Video Capture Project
+ pkgver = 3.7_21_gdb5f641
+ pkgrel = 1
+ url = https://github.com/KeckCAVES/Kinect
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = xorg-server
+ depends = libgl
+ depends = vrui-git
+ source = git+https://github.com/KeckCAVES/Kinect.git
+ md5sums = SKIP
+
+pkgname = kinect-3d-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8303e8273dc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: ctag <bigbero@gmail.com>
+pkgname=kinect-3d-git
+pkgver=3.7_21_gdb5f641
+pkgrel=1
+pkgdesc="Kinect 3D Video Capture Project"
+arch=('i686' 'x86_64')
+url="https://github.com/KeckCAVES/Kinect"
+license=('GPL')
+depends=('xorg-server' 'libgl' 'vrui-git')
+makedepends=('git')
+source=("git+https://github.com/KeckCAVES/Kinect.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "Kinect"
+ git describe | sed 's/^v//;s/-/_/g'
+}
+
+build() {
+ cd "Kinect"
+ make VRUI_MAKEDIR="/usr/share/Vrui/make"
+}
+
+package() {
+ cd "Kinect"
+ make INSTALLPREFIX="$pkgdir" VRUI_MAKEDIR="/usr/share/Vrui/make" install
+ rm "$pkgdir/usr/bin/AlignPoints"
+}