summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9532d44dc34400cda51fd25d155ed93da93098c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
_realname=python-rift
pkgname=$_realname-git
pkgver=1
pkgrel=1
pkgdesc="Python bindings for the Oculus Rift"
arch=('i686' 'x86_64')
url="https://github.com/lubosz/python-rift"
license=('GPLv3')
depends=('python>=3.0' 'cython' 'openhmd-git' 'oculus-udev')
source=("git+https://github.com/lubosz/$_realname.git")
md5sums=('SKIP')
 
package() {
  cd $_realname
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}