# Maintainer: Natanael Copa pkgname=libx11 pkgver=1.4.99.901 pkgrel=0 pkgdesc="X11 client-side library" url="http://xorg.freedesktop.org/" arch="all" license="custom:XFREE86" depends= subpackages="$pkgname-dev $pkgname-doc" depends_dev="libxcb-dev xproto xextproto xf86bigfontproto xtrans kbproto inputproto" makedepends="$depends_dev util-macros pkgconfig" source="http://xorg.freedesktop.org/releases/individual/lib/libX11-$pkgver.tar.bz2 " build() { cd "$srcdir"/libX11-$pkgver ./configure --prefix=/usr \ --with-xcb || return 1 make } package() { cd "$srcdir"/libX11-$pkgver make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="520376557363da2df412beec9b4be749 libX11-1.4.99.901.tar.bz2"