# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=xr-hardware
pkgver=1.1.1
pkgrel=0
pkgdesc="Hardware description for XR devices"
url="https://gitlab.freedesktop.org/monado/utilities/xr-hardware"
arch="noarch"
license="BSL-1.0"
depends="eudev"
makedepends="
	python3
	py3-attrs
	"
checkdepends="py3-flake8"
source="https://gitlab.freedesktop.org/monado/utilities/xr-hardware/-/archive/$pkgver/xr-hardware-$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install_package
}

sha512sums="
b667870197eac23ce590d65e305563d1de107595dd51c09d531625540cce209d86a13ba48c0840d24048717f234185a9dd76de794b8e9739eb3945fa96e72322  xr-hardware-1.1.1.tar.gz
"
