# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xkbevd
pkgver=1.1.4
pkgrel=0
pkgdesc="Event daemon for XKB"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="cmd:yacc libx11-dev libxkbfile-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xkbevd-$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="7628eddd0e1dc0c4df8e61eb3f6a6bf0e9d92a87e96bb2f5248ba5bd3d99d868885c36860b78e8ea2eaba3bb9a420067ef95c4d58c1254fa3d12fb25dd4e60e7  xkbevd-1.1.4.tar.bz2"