# $Id: PKGBUILD 26846 2009-02-13 15:23:45Z andyrtr $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xextproto
pkgver=7.0.5
pkgrel=1
pkgdesc="X11 various extension wire protocol"
arch=(i686 x86_64)
license=('custom')
depends=('inputproto>=1.5')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
md5sums=('e6841018a7c64983b0954aa2c564d115')
sha1sums=('d62e704039e7c647da66c9a6531ebdede37dace8')

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