From dfe4b935bfb35a7a5280339879dd4c876979bdd8 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 15 Dec 2014 19:19:02 +0000
Subject: mesa-demos: update to 8.2.0

---
 abs/core/mesa-demos/PKGBUILD | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/abs/core/mesa-demos/PKGBUILD b/abs/core/mesa-demos/PKGBUILD
index 310dc36..68d27a5 100644
--- a/abs/core/mesa-demos/PKGBUILD
+++ b/abs/core/mesa-demos/PKGBUILD
@@ -3,26 +3,27 @@
 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
 
 pkgname='mesa-demos'
-pkgver=8.1.0
-pkgrel=1
+pkgver=8.2.0
+pkgrel=3
 arch=('i686' 'x86_64')
 pkgdesc="Mesa demos and tools"
 url="http://mesa3d.sourceforge.net"
 license=('custom')
-depends=('libgl' 'glew')
+depends=('libgl' 'glew' 'freeglut')
 source=("ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2"
         'LICENSE')
-sha256sums=('9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828'
+sha256sums=('e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92'
             '7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2')
 
 build() {
-  cd "${srcdir}/mesa-demos-${pkgver}"
-  ./configure --prefix=/usr
+  cd mesa-demos-${pkgver}
+  ./configure --prefix=/usr \
+    --with-system-data-files=/usr/share/mesa-demos
   make
 }
 
 package() {
-  cd "${srcdir}/mesa-demos-${pkgver}"
+  cd mesa-demos-${pkgver}
   make DESTDIR="${pkgdir}" install
   install -m755 -d "${pkgdir}/usr/share/licenses/mesa-demos"
   install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-demos/"
-- 
cgit v0.12