From 71433bbe78ff52962cf5d3685a0322349d544025 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 21 Nov 2011 23:25:46 -0500 Subject: This is a maintenence nightmare, but create separate PKGBUILDS for openni{-unstable,}{-git,} --- ~lukeshu/openni-git/PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to '~lukeshu/openni-git') diff --git a/~lukeshu/openni-git/PKGBUILD b/~lukeshu/openni-git/PKGBUILD index 95d2052e4..80ed61b36 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 ' -- cgit v1.2.3-2-g168b