PKGBUILDs/extra/glproto/PKGBUILD
2009-09-26 09:35:50 -05:00

22 lines
794 B
Bash

# $Id: PKGBUILD 40204 2009-05-28 20:58:44Z jgc $
# 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
}