From de609ebb9e9dddfa52d5143a4a35eb0fb1c407f3 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 6 Aug 2012 21:26:52 -0500
Subject: glproto 1.4.16

---
 abs/core/glproto/PKGBUILD | 24 ++++++++++++++----------
 1 file 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')
-- 
cgit v0.12

