# $Id: PKGBUILD 163853 2012-07-21 11:21:24Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=glproto pkgver=1.4.16 pkgrel=1 pkgdesc="X11 OpenGL extension wire protocol" arch=(any) url="http://xorg.freedesktop.org/" license=('custom') source=(http://xorg.freedesktop.org/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) sha256sums=('54dd663a7f5ed702f2ff035b79edf770c2f850867ac0d55742f696bfc8b2598d') 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}/" }