summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 99a1712a0b0f817a535766f83b3830090e96a2ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
_realname=hovr
pkgname=$_realname-git
pkgver=1
pkgrel=1
pkgdesc="A Blender Game Engine Demo for the Oculus Rift and the Nintendo Balance Board"
arch=('i686' 'x86_64')
url="https://github.com/lubosz/python-rift"
license=('GPLv3')
depends=('blender' 'python-balanceboard-git' 'python-rift-git')
source=("git+https://github.com/lubosz/$_realname.git")
md5sums=('SKIP')
 
package() {
  cd $_realname
  mkdir -p $pkgdir/usr/share/$_realname/
  mkdir -p $pkgdir/usr/bin/
  cp * $pkgdir/usr/share/$_realname/ -R
  echo "blender /usr/share/$_realname/HoVR.blend" > $pkgdir/usr/bin/hovr
  chmod +x $pkgdir/usr/bin/hovr
}