PKGBUILDs/extra/glproto/PKGBUILD

24 lines
750 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
2009-11-18 19:04:34 +00:00
2009-09-26 14:35:50 +00:00
pkgname=glproto
pkgver=1.4.10
pkgrel=1
pkgdesc="X11 OpenGL extension wire protocol"
2009-11-18 19:04:34 +00:00
arch=('arm')
2009-09-26 14:35:50 +00:00
url="http://xorg.freedesktop.org/"
license=('custom')
source=(http://xorg.freedesktop.org/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2
COPYING)
2009-11-18 19:04:34 +00:00
md5sums=('c9f8cebfba72bfab674bc0170551fb8d'
'a2228066bf4e15d351290deec0d9c250')
2009-09-26 14:35:50 +00:00
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
}