# $Id: PKGBUILD 3231 2008-06-21 15:50:45Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xextproto
pkgver=7.0.3
pkgrel=1
pkgdesc="X11 various extension wire protocol"
arch=(i686 x86_64)
license=('custom')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3a2e0252e853ab30b3bff05ac92ec61c')
sha1sums=('4a59150f0d9400f3997df542828834969a2c4842')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
  install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}