# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-input-keyboard
pkgver=2.0.0
pkgrel=0
pkgdesc="X.Org keyboard driver"
url="https://www.X.Org/"
arch="all"
license="X11 AND MIT AND GPL-2.0-only"
depends=""
makedepends="util-macros xorgproto-dev xorg-server-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.xz"

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="8d53cdc3a9c9494896808e6a3974dcce5b2e7117bd9f5447240a01f126d3828a51143dbf4866ba94a761f83000f269026d7feda2a2b6c6d8a403b6cd46d5a437  xf86-input-keyboard-2.0.0.tar.xz"