# $Id: PKGBUILD 97539 2010-10-31 15:37:25Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

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

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}/"
}