# $Id: PKGBUILD 4333 2008-07-06 17:39:17Z jgc $ # Maintainer: Alexander Baldeck <alexander@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=libxrandr pkgver=1.2.3 pkgrel=1 pkgdesc="X11 RandR extension library" arch=('i686' 'x86_64') license=('custom') url="http://xorg.freedesktop.org/" depends=('libxext>=1.0.4' 'libxrender' 'randrproto>=1.2.2') makedepends=('pkgconfig') options=('!libtool') source=(${url}/releases/individual/lib/libXrandr-${pkgver}.tar.bz2) md5sums=('5cd67cc02a50c9644ba0a1846ea3b08e') build() { cd ${startdir}/src/libXrandr-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc || return 1 make || return 1 make DESTDIR=${startdir}/pkg install || return 1 install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname} install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 }