summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-25 03:45:16 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-25 03:45:16 -0300
commit4d621ee5978d93e45754205c92159701503760de (patch)
tree6cf58e73278424201a60b7ca36b92e6e960b8212 /libre
parentb1b9debcc7f6756d83dbac37806021de007cf083 (diff)
libre/mesa-demos-libre
Diffstat (limited to 'libre')
-rw-r--r--libre/mesa-demos-libre/PKGBUILD36
1 files changed, 13 insertions, 23 deletions
diff --git a/libre/mesa-demos-libre/PKGBUILD b/libre/mesa-demos-libre/PKGBUILD
index 46f7a75e8..31170b19f 100644
--- a/libre/mesa-demos-libre/PKGBUILD
+++ b/libre/mesa-demos-libre/PKGBUILD
@@ -1,36 +1,29 @@
-# $Id$
-# Maintainer: Joseph Yaworski <jy@dervormund.info>
+# $Id: PKGBUILD 151279 2012-02-25 12:34:03Z pierre $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Contributor (Parabola): <andre.paulista@adinet.com.uy>
pkgname='mesa-demos-libre'
pkgver=8.0.1
-pkgrel=1
-arch=(i686 x86_64)
+pkgrel=2
+arch=('i686' 'x86_64')
pkgdesc="Mesa demos and tools, libre"
url="http://mesa3d.sourceforge.net"
license=('custom')
-depends=('glew>=1.5.6')
+depends=('glew')
provides=("mesa-demos=$pkgver")
replaces=('mesa-demos')
-conflicts=('mesa<7.9', 'mesa-demos')
-source=(http://repo.parabolagnulinux.org/other/$pkgname-$pkgver.tar.bz2
+conflicts=('mesa-demos')
+source=("ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2"
mesa-demos-libre.patch
LICENSE)
-
-mksource() {
-
- wget ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2 \
- -O - | tar xvf -
-
- pushd mesa-demos-$pkgver
- patch -Np1 -i ../mesa-demos-libre.patch
- popd
-
- tar cjf ${pkgname}-${pkgver}.tar.bz2 mesa-demos-${pkgver}/
-
-}
+md5sums=('320c2a4b6edc6faba35d9cb1e2a30bf4'
+ '1858e95d40ac9e5e0b59753ce9e673e3'
+ '5c65a0fe315dd347e09b1f2826a1df5a')
build() {
cd "${srcdir}/mesa-demos-${pkgver}"
+ patch -Np1 -i "${srcdir}/mesa-demos-libre.patch"
./configure --prefix=/usr
make
}
@@ -41,6 +34,3 @@ package() {
install -m755 -d "${pkgdir}/usr/share/licenses/mesa-demos"
install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-demos/"
}
-md5sums=('665a4ad12bff27ca2b655dd16554d36c'
- '1858e95d40ac9e5e0b59753ce9e673e3'
- '5c65a0fe315dd347e09b1f2826a1df5a')