# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=xf86-input-wacom
pkgver=0.35.0
pkgrel=1
pkgdesc="X.org Wacom tablet input driver"
url="http://linuxwacom.sourceforge.net/"
arch="all"
license="GPL-2.0"
makedepends="xorg-server-dev libxext-dev libxi-dev libxrandr-dev
	libxinerama-dev eudev-dev"
checkdepends="bash findutils"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/linuxwacom/$pkgname/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/"$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="9586348e8da91651bc9a9ee9e74dd77f4311060538dcb228681b98300f7624401878190322dcbc4e798bd1eeeb7d2900abc3f5e949a583b6cda44821b8821058  xf86-input-wacom-0.35.0.tar.bz2"
