public
Created

  • Download Gist
PKGBUILD
Shell
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.8.0-1-x86_64.pkg.tar.xz
#
# or
#
# pacman -U leap-0.8.0-1-i686.pkg.tar.xz
#
# depending on your architecture.
#
pkgname=leap
pkgver=0.8.0
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=('00851fd4c4de43cc7dd70d810f9def3e')
;;
'i686')
_arch='x86'
md5sums=('b6e67f5e7dcbfe137c38b377dd97acab')
;;
esac
 
source=("Leap-${pkgver}-${_arch}.deb")
 
package() {
tar -zxf data.tar.gz -C "${pkgdir}"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.