blob: 9b36f36821007eeaedb5331559d7319d84ca9255 (
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
28
29
30
31
|
# Maintainer: Christoph Haag <haagch+aur@frickel.club>
pkgname=xr-hardware-git
pkgver=0.4.0.r0.g0af333d
pkgrel=1
pkgdesc="Udev rules for allowing USB access to popular XR/VR/AR headsets"
arch=('any')
url="https://gitlab.freedesktop.org/monado/utilities/xr-hardware"
license=('Boost')
conflicts=("xr-hardware" "oculus-udev" "osvr-udev" "vive-udev" "psvr-udev")
provides=("xr-hardware" "oculus-udev" "osvr-udev" "vive-udev" "psvr-udev")
makedepends=('python-attrs' 'git')
source=('git+https://gitlab.freedesktop.org/monado/utilities/xr-hardware.git')
sha256sums=('SKIP')
install='xr-hardware.install'
pkgver() {
cd xr-hardware
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd xr-hardware
make PYTHON=python clean_package
make PYTHON=python all
}
package() {
cd xr-hardware
make PYTHON=python DESTDIR="$pkgdir" PREFIX=/usr install_package
}
|