summaryrefslogtreecommitdiff
path: root/~lukeshu/libfreenect-git/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-17 20:41:24 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-17 20:41:24 -0500
commit306984254eae3bf415102f94fb511aa639c95043 (patch)
tree9f3dbbd9d2f63da015ef879e679245a96f56b26a /~lukeshu/libfreenect-git/PKGBUILD
parent66a30c6480fdcdfe19dd478acb0ddcbb1dc9f107 (diff)
downloadabslibre-306984254eae3bf415102f94fb511aa639c95043.tar.gz
abslibre-306984254eae3bf415102f94fb511aa639c95043.tar.bz2
abslibre-306984254eae3bf415102f94fb511aa639c95043.zip
Fix the audio firmware for libfreenect-git (pkgrel=3)
Diffstat (limited to '~lukeshu/libfreenect-git/PKGBUILD')
-rw-r--r--~lukeshu/libfreenect-git/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/~lukeshu/libfreenect-git/PKGBUILD b/~lukeshu/libfreenect-git/PKGBUILD
index 26963e142..e8cf045c2 100644
--- a/~lukeshu/libfreenect-git/PKGBUILD
+++ b/~lukeshu/libfreenect-git/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=libfreenect
pkgname=${_pkgname}-git
pkgver=20111115
-pkgrel=2
+pkgrel=3
pkgdesc="OpenKinect drivers and libraries for the Xbox Kinect device"
arch=('i686' 'x86_64')
url="http://openkinect.org"
@@ -63,6 +63,10 @@ package() {
cd "${srcdir}/${_gitname}-build/build"
make DESTDIR="${pkgdir}" install
+ # Move audio firmware file to proper location
+ mkdir -p "${pkgdir}/usr/share/libfreenect"
+ mv "${pkgdir}/usr/share/audios.bin" "${pkgdir}/usr/share/libfreenect/audios.bin"
+
# Install udev rules
cd "${srcdir}/${_gitname}-build/"
install -Dm644 platform/linux/udev/51-kinect.rules "${pkgdir}/etc/udev/rules.d/51-kinect.rules"