# $Id: PKGBUILD 34217 2009-04-08 08:01:42Z jgc $ # Maintainer: Alexander Baldeck # Contributor Jan de Groot pkgname=libx11 pkgver=1.2.1 pkgrel=1 pkgdesc="X11 client-side library" arch=(arm) url="http://xorg.freedesktop.org/" depends=('libxcb>=1.2' 'kbproto>=1.0.3') makedepends=('xproto>=7.0.14' 'xextproto>=7.0.5' 'xf86bigfontproto>=1.1.2' 'xtrans>=1.2.3' 'kbproto>=1.0.3' 'inputproto>=1.5.0' 'xorg-util-macros>=1.2.1') options=('!libtool') license=('custom:XFREE86') source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2 xorg.sh) md5sums=('2f2beb98e71f397e1209beaca4e97cb1' '942ff006e69e041f0307c1316e0dec5d') build() { cd "${srcdir}/libX11-${pkgver}" ./configure --prefix=/usr \ --with-xcb || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -m755 -d "${pkgdir}/etc/profile.d" install -m755 "${srcdir}/xorg.sh" \ "${pkgdir}/etc/profile.d/" || return 1 install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 }