# $Id: PKGBUILD 186941 2013-06-01 09:48:56Z andyrtr $ # Maintainer: Jan de Groot # Maintainer: Andreas Radke # Contributor: Alexander Baldeck pkgname=libxrandr pkgver=1.4.1 pkgrel=1 pkgdesc="X11 RandR extension library" arch=('i686' 'x86_64' 'mips64el') license=('custom') url="http://xorg.freedesktop.org/" depends=('libxext' 'libxrender' 'randrproto>=1.4.0') makedepends=('xorg-util-macros') options=('!libtool') source=(${url}/releases/individual/lib/libXrandr-${pkgver}.tar.bz2) sha256sums=('d914a0490fd0a2ea6c3194505b5b28c56e2a277d8f4648b0275ee0ee370fb905') build() { cd "${srcdir}/libXrandr-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc make } package() { cd "${srcdir}/libXrandr-${pkgver}" make DESTDIR="${pkgdir}" install install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }