summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 128b4c3228b5807ae9deb1ae16fc1dfb779b1b50 (plain)
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
# Maintainer: ctag <bigbero@gmail.com>
pkgname=sarndbox-git
pkgver=2.6_12_gd1e51b5
pkgrel=1
pkgdesc="Augmented Reality Sandbox"
arch=('i686' 'x86_64')
url="https://github.com/KeckCAVES/SARndbox"
license=('GPL')
depends=('xorg-server' 'libgl' 'vrui-git' 'kinect-3d-git')
makedepends=('git')
source=("git+https://github.com/KeckCAVES/SARndbox.git")
md5sums=('SKIP')

pkgver() {
	cd "SARndbox"
	git describe | sed 's/^v//;s/-/_/g'
}

build() {
	cd "SARndbox"
	make VRUI_MAKEDIR="/usr/share/Vrui/make"
}

package() {
	cd "SARndbox"
	make INSTALLDIR="$pkgdir" INSTALLPREFIX="$pkgdir" VRUI_MAKEDIR="/usr/share/Vrui/make" install
}