# $Id: PKGBUILD 97554 2010-10-31 15:47:03Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=fixesproto
pkgver=4.1.2
pkgrel=1
pkgdesc="X11 Fixes extension wire protocol"
arch=(any)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xproto' 'xextproto')
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('c9cda7ff37849250c328f8dc52dc0f6e546df3a5')

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