PKGBUILDs/extra/glproto/PKGBUILD

23 lines
794 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# $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
}