summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-07-01 21:14:47 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-07-01 21:14:47 -0300
commite7cffdc291186ce0e021c7595bb5f33298c9734f (patch)
tree04cbe112153c39f6306aa9d653148f7b63210bc8 /~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD
parent6f277f24dfa07959d80832aab076566cb648c5ff (diff)
downloadabslibre-e7cffdc291186ce0e021c7595bb5f33298c9734f.tar.gz
abslibre-e7cffdc291186ce0e021c7595bb5f33298c9734f.tar.bz2
abslibre-e7cffdc291186ce0e021c7595bb5f33298c9734f.zip
?
Diffstat (limited to '~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD')
-rw-r--r--~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD65
1 files changed, 0 insertions, 65 deletions
diff --git a/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD b/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD
deleted file mode 100644
index 0ebfac2e5..000000000
--- a/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD
+++ /dev/null
@@ -1,65 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Contributor: pallegro from the AUR
-
-_pkgname=openni-module-primesensor
-pkgname=${_pkgname}-git
-pkgver=20111115
-pkgrel=1
-pkgdesc="OpenNI PrimeSensor harware modules for the PrimeSense sensor device"
-arch=('i686')
-url="http://www.primesense.com/"
-license=('GPL')
-depends=('openni')
-makedepends=('git')
-provides=($_pkgname)
-conflicts=($_pkgname)
-install="sensorkinect.install"
-source=()
-md5sums=()
-
-_gitroot="https://github.com/PrimeSense/Sensor.git"
-_gitname="primesensor"
-_gitbranch="unstable"
-#_gitbranch="master"
-
-build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [ -d $_gitname ] ; then
- cd $_gitname && git pull origin
- msg "The local files are updated."
- else
- git clone -b $_gitbranch $_gitroot $_gitname
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
-
- rm -rf "$srcdir/$_gitname-build"
- git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd $srcdir/$_gitname-build
-
- # BUILD
- cd Platform/Linux-x86/Build
- make NI_CONF_DIR=/etc || return 1
-}
-
-package() {
- install -d -m755 ${pkgdir}/usr/{lib,bin}
-
- cd $srcdir/$_gitname-build/Platform/Linux-x86/Bin/Release
- install XnSensorServer ${pkgdir}/usr/bin
- install libXnCore.so libXnDDK.so libXnDeviceFile.so libXnDeviceSensorV2KM.so libXnFormats.so ${pkgdir}/usr/lib
- chmod +s ${pkgdir}/usr/bin/XnSensorServer
-
- cd $srcdir/$_gitname-build/Platform/Linux-x86/Install
- install -d -m755 ${pkgdir}/etc/udev/rules.d
- install 55-primesense-usb.rules ${pkgdir}/etc/udev/rules.d
-
- cd $srcdir/$_gitname-build/Data
- install -d -m755 ${pkgdir}/etc/primesense
- install GlobalDefaultsKinect.ini ${pkgdir}/etc/primesense
-
- install -d -m777 ${pkgdir}/var/log/primesense/XnSensorServer
-}