# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=dri2proto pkgver=2.8 pkgrel=1 pkgdesc="X11 DRI protocol" arch=(any) license=('custom') url="http://xorg.freedesktop.org/" makedepends=('xorg-util-macros') source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) sha256sums=('f9b55476def44fc7c459b2537d17dbc731e36ed5d416af7ca0b1e2e676f8aa04') 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}/" }