# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxkbfile
pkgver=1.1.0
pkgrel=0
pkgdesc="X11 keyboard file manipulation library"
url="https://www.X.Org/"
arch="all"
license="MIT AND X11"
depends=""
makedepends="libx11-dev util-macros"
subpackages="$pkgname-dev"
source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="1c6a57564e916ccdc3df3c49b9f3589f701df0cec55112c12ddc35ac3ed556608c28fe98e5ba0ac1962e9a65ed1e90eb7e6169b564951bf55a7cf3499b745826  libxkbfile-1.1.0.tar.bz2"