summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/glproto/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/abs/core/glproto/PKGBUILD b/abs/core/glproto/PKGBUILD
index 577864e..94976fa 100644
--- a/abs/core/glproto/PKGBUILD
+++ b/abs/core/glproto/PKGBUILD
@@ -1,22 +1,26 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
+# $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.12
+pkgver=1.4.16
pkgrel=1
pkgdesc="X11 OpenGL extension wire protocol"
-arch=('i686' 'x86_64')
+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 ${startdir}/src/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
- make || return 1
+ make
}
+
package() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- make DESTDIR=${startdir}/pkg install || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/"
}
-md5sums=('55edc5ff2efb734215c868f72f7cf27e')