# $Id: PKGBUILD 51098 2009-09-04 21:12:24Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=evieext
pkgver=1.1.0
pkgrel=1
pkgdesc="X11 Event Interception extension wire protocol"
arch=(any)
url="http://xorg.freedesktop.org/"
license=('MIT')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('d0b57a8fbbf0845588a690542a6c29d351c2b4e5')

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 -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}