summaryrefslogblamecommitdiff
path: root/user/libxkbcommon/APKBUILD
blob: 61e6c5a0d117dda1faf6bccd0ca6d19dd7440673 (plain) (tree)
1
2
3
4
                                                         
                                                 
                    
            
































                                                                       
                                                                                                                                                                        
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxkbcommon
pkgver=0.8.2
pkgrel=0
pkgdesc="Keyboard handling library"
url="https://www.xkbcommon.org/"
arch="all"
license="MIT AND X11"
makedepends="bison flex libxcb-dev util-macros xorgproto-dev"
checkdepends="bash"
subpackages="$pkgname-dev"
source="https://www.xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz"

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

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

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

sha512sums="b714240ec6120bbe44b5da7a4f89b1c2f24cfd6e5ebbe81e5290d135c8f2e5a68f89ac256b73430a446167345f8db309b35dcf74f3d3840e20897cd91eccc172  libxkbcommon-0.8.2.tar.xz"