summaryrefslogtreecommitdiffstats
path: root/abs/core/mesa-demos/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-04 01:59:10 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-04 01:59:10 (GMT)
commit1f1215442f445f58b67083d80bd8a40060eb9fa7 (patch)
treed55aa38215790bece50af78cc60bb867739372c7 /abs/core/mesa-demos/PKGBUILD
parenta4aacb8385185ffcc0fa33ee7d9b752821b1e0c6 (diff)
parent2cae18b3f848454632c564386a2055d26373f42c (diff)
downloadlinhes_pkgbuild-1f1215442f445f58b67083d80bd8a40060eb9fa7.zip
linhes_pkgbuild-1f1215442f445f58b67083d80bd8a40060eb9fa7.tar.gz
linhes_pkgbuild-1f1215442f445f58b67083d80bd8a40060eb9fa7.tar.bz2
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Conflicts: abs/extra/glew/PKGBUILD
Diffstat (limited to 'abs/core/mesa-demos/PKGBUILD')
-rw-r--r--abs/core/mesa-demos/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/mesa-demos/PKGBUILD b/abs/core/mesa-demos/PKGBUILD
new file mode 100644
index 0000000..2f71ce6
--- /dev/null
+++ b/abs/core/mesa-demos/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=mesa-demos
+pkgver=8.0.1
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc="Mesa demos and tools"
+url="http://mesa3d.sourceforge.net"
+license=('custom')
+depends=('glew>=1.5.6')
+conflicts=('mesa<7.9')
+source=(ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2
+ LICENSE)
+
+build() {
+ cd "${srcdir}/mesa-demos-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/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/"
+}
+
+md5sums=('320c2a4b6edc6faba35d9cb1e2a30bf4'
+ '10a9d94c27477a9f9afed27f7d1c4476')