# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-input-wacom
pkgver=0.39.0
pkgrel=0
pkgdesc="X.Org driver for Wacom tablets"
url="https://linuxwacom.github.io/"
arch="all"
license="GPL-2.0-only"
depends=""
makedepends="eudev-dev libx11-dev libxext-dev libxi-dev libxinerama-dev
	libxrandr-dev util-macros xorgproto-dev xorg-server-dev"
subpackages="$pkgname-doc"
source="https://github.com/linuxwacom/xf86-input-wacom/releases/download/xf86-input-wacom-$pkgver/xf86-input-wacom-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="9ad92c86c4ba3587d68e2107057c89dfe8628c0a2ec882f5a424ab4983c18ff6048489d7f6d3a8de87403744f74de1982de25327fc955bb5c21346a242e0aaa3  xf86-input-wacom-0.39.0.tar.bz2"