[arch-commits] Commit in mesa/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed May 14 13:57:39 EDT 2008


    Date: Wednesday, May 14, 2008 @ 13:57:38
  Author: jgc
Revision: 1675

upgpkg: mesa 7.0.3-2

Modified:
  mesa/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-14 17:51:33 UTC (rev 1674)
+++ PKGBUILD	2008-05-14 17:57:38 UTC (rev 1675)
@@ -4,8 +4,7 @@
 
 pkgname=mesa
 pkgver=7.0.3
-_mesaver=7.0.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Mesa OpenGL library"
 arch=(i686 x86_64)
 license=('LGPL')
@@ -14,19 +13,23 @@
 makedepends=('imake' 'pkgconfig')
 conflicts=('mesa-apps')
 replaces=('mesa-apps')
-source=(http://downloads.sourceforge.net/sourceforge/mesa3d/MesaLib-${_mesaver}.tar.bz2
-        http://downloads.sourceforge.net/sourceforge/mesa3d/MesaDemos-${_mesaver}.tar.bz2
+source=(http://downloads.sourceforge.net/sourceforge/mesa3d/MesaLib-${pkgver}.tar.bz2
+        http://downloads.sourceforge.net/sourceforge/mesa3d/MesaDemos-${pkgver}.tar.bz2
 	ftp://ftp.archlinux.org/other/mesa/gl-manpages-1.0.1.tar.bz2
 	mesa-6.5-apps-noglut.patch)
+md5sums=('e6e6379d7793af40a6bc3ce1bace572e'
+         '47fd6863621d3c9c7dbb870ab7f0c303'
+         '6ae05158e678f4594343f32c2ca50515'
+         'cc5a4ea4ea8de4425997fcda2a9d8648')
 
 build() {
-  cd ${startdir}/src/Mesa-${_mesaver}
+  cd ${startdir}/src/Mesa-${pkgver}
   patch -Np0 -i ${startdir}/src/mesa-6.5-apps-noglut.patch || return 1
 
   CONFIG="linux-dri-x86"
   if [ "${CARCH}" = "x86_64" ]; then
     CONFIG="linux-dri-x86-64"
-    sed -i -e "s/lib64/lib/g" ${startdir}/src/Mesa-${_mesaver}/configs/${CONFIG}
+    sed -i -e "s/lib64/lib/g" configs/${CONFIG}
   fi
   echo "EXTRA_LIB_PATH =" >> configs/${CONFIG}
   echo "OPT_FLAGS = ${CFLAGS}" >> configs/${CONFIG}
@@ -56,7 +59,3 @@
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1
 }
-md5sums=('e6e6379d7793af40a6bc3ce1bace572e'
-         '47fd6863621d3c9c7dbb870ab7f0c303'
-         '6ae05158e678f4594343f32c2ca50515'
-         'cc5a4ea4ea8de4425997fcda2a9d8648')





More information about the arch-commits mailing list