# $Id: PKGBUILD 99386 2010-11-14 16:32:03Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=xproto pkgver=7.0.19 pkgrel=1 pkgdesc="X11 core wire protocol and auxiliary headers" arch=(any) license=('custom') url="http://xorg.freedesktop.org/" source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) sha1sums=('c080da482474dd422cb90b52202bd616cf0854e1') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr 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}/" }