# $Id: PKGBUILD 99316 2010-11-14 15:51:28Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=inputproto
pkgver=2.0.1
pkgrel=1
pkgdesc="X11 Input extension wire protocol"
arch=(any)
license=('custom')
url="http://xorg.freedesktop.org/"
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('9c11b99b7cccceafa6b4235a3084523fb7cb4621')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}