[arch-commits] CVS update of arch/build/base/gcc (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Jul 4 17:56:30 UTC 2007


    Date: Wednesday, July 4, 2007 @ 13:56:30
  Author: jgc
    Path: /home/cvs-arch/arch/build/base/gcc

Modified: PKGBUILD (1.72 -> 1.73)

Update to 4.2.1-RC-20070704, add check for german locale


----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)


Index: arch/build/base/gcc/PKGBUILD
diff -u arch/build/base/gcc/PKGBUILD:1.72 arch/build/base/gcc/PKGBUILD:1.73
--- arch/build/base/gcc/PKGBUILD:1.72	Sun Jul  1 16:36:02 2007
+++ arch/build/base/gcc/PKGBUILD	Wed Jul  4 13:56:30 2007
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.72 2007/07/01 20:36:02 jgc Exp $
+# $Id: PKGBUILD,v 1.73 2007/07/04 17:56:30 jgc Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 pkgname=gcc
-pkgver=4.2.0
-pkgrel=5
-_snapshot=4.2-20070627
+pkgver=4.2.1
+pkgrel=1
+_snapshot=4.2.1-RC-20070703
 pkgdesc="The GNU Compiler Collection"
 arch=(i686 x86_64)
 license=('GPL' 'LGPL')
@@ -15,14 +15,19 @@
 	ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man-4.2.0.tar.bz2
 	gcc_pure64.patch
 	gcc-hash-style-both.patch)
-md5sums=('de942c2ecc29748224edd40e5e13481b'
-         'bfa95adcdf912f3bfa483e9c8a072d84'
-         '983d7c6c4ec1bb465c1dcd24f83c630f'
+md5sums=('03bda7b8ae95d505afe459fd2b84a193'
+         '4996ba1ed47f4313e9d6d8a61b0c36d8'
+         '7b10255246bb750a350369a6324941f5'
          'e70d37c0623b15e90cff47d91816a941'
          '8fc86e4c4d1f4ec8b226307d39fbd9e3'
          '611fbd749019f0ce2fad36fda17e93dd')
 
 build() {
+  if ! locale -a | grep ^de_DE; then
+    echo "You need the de_DE locale to build gcc."
+    return 1
+  fi
+  
 #  cd ${startdir}/src/gcc-${pkgver}
   cd ${startdir}/src/gcc-${_snapshot}
   # Don't install libiberty




More information about the arch-commits mailing list