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

Rémy Oudompheng remy at archlinux.org
Mon Aug 30 13:03:27 EDT 2010


    Date: Monday, August 30, 2010 @ 13:03:27
  Author: remy
Revision: 89260

upgpkg: pygtk 2.17.0-3
Rebuild for python2.

Modified:
  pygtk/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-30 14:17:26 UTC (rev 89259)
+++ PKGBUILD	2010-08-30 17:03:27 UTC (rev 89260)
@@ -4,7 +4,7 @@
 
 pkgname=pygtk
 pkgver=2.17.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Python bindings for the GTK widget set"
 arch=('i686' 'x86_64')
 license=('LGPL')
@@ -20,6 +20,11 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr
   make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
+  sed -i -e 's#env python#env python2#' "${pkgdir}"/usr/lib/pygtk/2.0/demos/*.py
   install -m644 gtk/gtk-extrafuncs.defs "${pkgdir}/usr/share/pygtk/2.0/defs/"
 }



More information about the arch-commits mailing list