PKGBUILDs/extra/glproto/PKGBUILD
2009-11-18 11:04:34 -08:00

23 lines
750 B
Bash

# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=glproto
pkgver=1.4.10
pkgrel=1
pkgdesc="X11 OpenGL extension wire protocol"
arch=('arm')
url="http://xorg.freedesktop.org/"
license=('custom')
source=(http://xorg.freedesktop.org/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2
COPYING)
md5sums=('c9f8cebfba72bfab674bc0170551fb8d'
'a2228066bf4e15d351290deec0d9c250')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}