summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~lukeshu/openni-git/PKGBUILD')
-rw-r--r--~lukeshu/openni-git/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/~lukeshu/openni-git/PKGBUILD b/~lukeshu/openni-git/PKGBUILD
index 95d2052..80ed61b 100644
--- a/~lukeshu/openni-git/PKGBUILD
+++ b/~lukeshu/openni-git/PKGBUILD
@@ -35,12 +35,14 @@ _gitname="openni"
#_gitbranch="unstable"
_gitbranch="master"
+_os='Linux'
case "${CARCH}" in
-'x86_64') _platform=Linux-x86;;
-'i686') _platform=Linux-x86;;
-'arm') _platform=Linux-Arm;; # untested
-*) _platform=UNSUPPORTED_ARCH;;
+'x86_64') _arch=x86;;
+'i686') _arch=x86;;
+'arm') _arch=Arm;; # untested
+*) _arch=UNSUPPORTED_ARCH;;
esac
+_platform="${_os}-${_arch}"
export MAKEFLAGS+=' -j1 '