1 # Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
6 pkgdesc="An Open Source Kinect Linux module driver compatible with Video4Linux 2"
8 url="https://github.com/berfenger/linect"
11 makedepends=('kernel26-headers' 'git')
15 install="${pkgname}.install"
18 _gitroot="git://github.com/berfenger/linect.git"
24 if [ ! -d ${srcdir}/${_gitname} ]; then
27 cd ${_gitname} && git pull origin
30 msg "GIT checkout done."
32 rm -rf "${srcdir}/${_gitname}-build"
33 cp -r "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
34 cd "${srcdir}/${_gitname}-build"
40 cd "${srcdir}/${_gitname}-build"
42 install -Dm644 linect.ko "${pkgdir}/lib/modules/`uname -r`/kernel/drivers/misc/linect.ko"