summaryrefslogblamecommitdiff
path: root/user/libxkbcommon/APKBUILD
blob: 6825a2701eddc99298b0ad234f037ca0757b9278 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                         
                                                 
                    
            




                                   
                          
                   


                                                                  


                                                                       




                                        


         
                           


           
                                                

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

build() {
	meson \
		-Dprefix=/usr \
		-Denable-wayland=false \
		build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="8d4551a06e7dd4936633f544409401dc33f8f1900adb5daa6403615c71f321d17212db739f89a5b3e393d729b3f33167691404849a25d5526b403fd9ec3e8878  libxkbcommon-0.9.1.tar.xz"