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
































                                                                       
                                                                                                                                                                        
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxkbcommon
pkgver=0.8.4
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="dbd441d0d7d5ba4fb352d64d150d163d4cdcf8340059457c291dc1fc69d1606ff6589732cb41a7fcfe106af0192977b243d7d68c4d95b90ece7abb620df360e3  libxkbcommon-0.8.4.tar.xz"