[arch-commits] CVS update of extra/x11-libs/libgl (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Mar 16 20:49:49 UTC 2008


    Date: Sunday, March 16, 2008 @ 16:49:49
  Author: jgc
    Path: /home/cvs-extra/extra/x11-libs/libgl

Modified: PKGBUILD (1.3 -> 1.4)

upgpkg: libgl 7.0.3rc2-1


----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)


Index: extra/x11-libs/libgl/PKGBUILD
diff -u extra/x11-libs/libgl/PKGBUILD:1.3 extra/x11-libs/libgl/PKGBUILD:1.4
--- extra/x11-libs/libgl/PKGBUILD:1.3	Fri Jan 25 18:36:22 2008
+++ extra/x11-libs/libgl/PKGBUILD	Sun Mar 16 16:49:49 2008
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.3 2008/01/25 23:36:22 jgc Exp $
+# $Id: PKGBUILD,v 1.4 2008/03/16 20:49:49 jgc Exp $
 # Maintainer: Alexander Baldeck <kth5 at archlinux.org>
 # Contributor: Jan de Groot <jgc at archlinux.org>
 pkgname=libgl
-pkgver=7.0.3rc1
-_mesaver=7.0.3-rc1
+pkgver=7.0.3rc2
+_mesaver=7.0.3-rc2
 pkgrel=1
 pkgdesc="Mesa DRI OpenGL library and drivers"
 arch=(i686 x86_64)
@@ -13,8 +13,8 @@
 makedepends=('imake' 'glproto>=1.4.9' 'fixesproto' 'damageproto' 'pkgconfig')
 provides=('libgl-dri')
 replaces=('libgl-dri' 'libgl-mesa')
-source=(ftp://ftp.archlinux.org/other/mesa/MesaLib-${_mesaver}.tar.bz2)
-md5sums=('9bd9a3f3cebac89ff5a3571e1f51ca4f')
+source=(http://www.mesa3d.org/beta/MesaLib-${_mesaver}.tar.gz)
+md5sums=('141f5c1c89b090d0f0bd92522ebb8de9')
 
 build() {
   cd ${startdir}/src/Mesa-${_mesaver}
@@ -38,13 +38,13 @@
   echo "X11_INCLUDES = `pkg-config --cflags-only-I x11`" >> configs/${CONFIG}
 
   make ${CONFIG} || return 1
-  mkdir -p ${startdir}/pkg/usr
-  make INSTALL_DIR=${startdir}/pkg/usr install
+  install -m755 -d ${startdir}/pkg/usr
+  make INSTALL_DIR=${startdir}/pkg/usr install || return 1
 
   rm -rf ${startdir}/pkg/usr/include
 
-  mkdir -p ${startdir}/pkg/usr/lib/xorg/modules/extensions
-  cd ${startdir}/pkg/usr/lib/xorg/modules/extensions
+  install -m755 -d ${startdir}/pkg/usr/lib/xorg/modules/extensions || return 1
+  cd ${startdir}/pkg/usr/lib/xorg/modules/extensions || return 1
   ln -sf libGLcore.xorg libGLcore.so
   ln -sf libglx.xorg libglx.so
 }




More information about the arch-commits mailing list