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

Jan de Groot jgc at nymeria.archlinux.org
Tue Mar 26 12:59:25 UTC 2013


    Date: Tuesday, March 26, 2013 @ 13:59:25
  Author: jgc
Revision: 180819

upgpkg: glib2 2.36.0-3

Fix shebang. Upstream uses PYTHON for this now

Modified:
  glib2/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-26 12:41:38 UTC (rev 180818)
+++ PKGBUILD	2013-03-26 12:59:25 UTC (rev 180819)
@@ -3,7 +3,7 @@
 
 pkgname=glib2
 pkgver=2.36.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Common C routines used by GTK+ and other libs"
 url="http://www.gtk.org/"
 arch=(i686 x86_64)
@@ -20,7 +20,7 @@
 build() {
   cd glib-$pkgver
   patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
-  PYTHON=python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
       --sysconfdir=/etc \
       --with-pcre=system \
       --disable-fam
@@ -34,6 +34,4 @@
   for _i in "$pkgdir/usr/share/bash-completion/completions/"*; do
       chmod -x "$_i"
   done
-
-   sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" "$pkgdir"/usr/bin/gdbus-codegen
 }




More information about the arch-commits mailing list