# Maintainer: Natanael Copa pkgname=libxcb pkgver=1.9.1 pkgrel=1 pkgdesc="X11 client-side library" url="http://xcb.freedesktop.org/" arch="all" license="custom" depends= subpackages="$pkgname-dev $pkgname-doc" depends_dev="libpthread-stubs libxau-dev libxdmcp-dev xcb-proto" makedepends="$depends_dev libxslt python" source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2 " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure --prefix=/usr \ --enable-xkb \ --enable-xinput \ --disable-xprint \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="ed632cb0dc31b6fbd7ea5c0f931cf5a4 libxcb-1.9.1.tar.bz2" sha256sums="d44a5ff4eb0b9569e6f7183b51fdaf6f58da90e7d6bfc36b612d7263f83e362f libxcb-1.9.1.tar.bz2" sha512sums="541d6e07b1a0da61c3cc1dbdae50ce4e55f1a27e79e277db5af192d02c8360bb3958c597d6692f2c6afcf009ae7b312459f65e8c8d2f1bcc446f7f512bacdd41 libxcb-1.9.1.tar.bz2"