Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

PKGBUILD to install the Debian package from the Leap SDK on Arch Linux – https://www.leapmotion.com/

View PKGBUILD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
# Maintainer: Helge Rausch <helge@rausch.io>
# This script is licensed under the MIT license.
# https://gist.github.com/tsujigiri/5476281
#
## Installation
#
# To install the Leap software, you first need to download the SDK for Linux
# from https://developer.leapmotion.com/downloads/leap-motion/sdk using your
# developer account. Unpack it, place the included .deb files in the same
# directory as this PKGBUILD and run `makepkg`. If all goes well this will
# create a package file, which can be installed by running:
#
# pacman -U leap-0.7.9-1-x86_64.pkg.tar.xz
#
# or
#
# pacman -U leap-0.7.9-1-i686.pkg.tar.xz
#
# depending on your architecture.
#
pkgname=leap
pkgver=0.7.9
pkgrel=1
pkgdesc="Installs the Debian package from the Leap SDK to Arch Linux"
arch=('i686' 'x86_64')
url="https://developer.leapmotion.com/downloads/leap-motion/sdk"
depends=('mesa' 'libxxf86vm')
license=('unknown')
 
case $CARCH in
'x86_64')
_arch='x64'
md5sums=('b74782aebe5d34664d9d59b9bb0df24c')
;;
'i686')
_arch='x86'
md5sums=('f7dc03255f8f692fe610a2970698775b')
;;
esac
 
source=("Leap-${pkgver}-${_arch}.deb")
 
package() {
tar -zxf data.tar.gz -C "${pkgdir}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.