# $Id: PKGBUILD 29287 2009-03-07 18:43:12Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=randrproto
pkgver=1.3.1
pkgrel=1
pkgdesc="X11 RandR extension wire protocol"
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}
md5sums=('a5c244c36382b0de39b2828cea4b651d')