# Part of the Xorg group # Maintainer: Neophytos Kolokotronis pkgname=libxcb pkgver=1.11.1 pkgrel=1 pkgdesc="X11 client-side library" arch=(x86_64) url="http://xcb.freedesktop.org/" depends=('xcb-proto>=1.11' 'libxdmcp' 'libxau') makedepends=('libxslt' 'python3' 'xorg-util-macros') license=('custom') source=($url/dist/$pkgname-$pkgver.tar.bz2 libxcb-1.1-no-pthread-stubs.patch) sha256sums=('b720fd6c7d200e5371affdb3f049cc8f88cff9aed942ff1b824d95eedbf69d30' '3923bcb1930b851012968435909597d8d5251c72153511cb2982636c97100cc3') prepare() { cd "$pkgname-$pkgver" patch -Np1 -i ../libxcb-1.1-no-pthread-stubs.patch autoreconf -vfi } build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr \ --enable-xinput \ --enable-xkb \ --disable-static make } check() { cd $pkgname-$pkgver make -k check } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -m755 -d "$pkgdir/usr/share/licenses/$pkgname" install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname" }