# $Id: PKGBUILD 54533 2009-10-11 09:28:09Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=inputproto
pkgver=2.0
pkgrel=1
pkgdesc="X11 Input extension wire protocol"
arch=(any)
license=('custom')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
md5sums=('0f7acbc14a082f9ae03744396527d23d')

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
}