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

Rémy Oudompheng remy at archlinux.org
Thu Sep 2 19:44:50 UTC 2010


    Date: Thursday, September 2, 2010 @ 15:44:49
  Author: remy
Revision: 89634

upgpkg: meld 1.3.2-2
Rebuild for python2

Modified:
  meld/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-02 19:41:15 UTC (rev 89633)
+++ PKGBUILD	2010-09-02 19:44:49 UTC (rev 89634)
@@ -3,7 +3,7 @@
 
 pkgname=meld
 pkgver=1.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Visual diff and merge tool for GNOME'
 arch=('any')
 url='http://meld.sourceforge.net/'
@@ -17,10 +17,11 @@
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	make prefix=/usr
+	make PYTHON=python2 prefix=/usr
 }
 
 package() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	make prefix=/usr DESTDIR="${pkgdir}" install
+	make PYTHON=python2 prefix=/usr DESTDIR="${pkgdir}" install
+        sed -i -e 's#env python#env python2#' "${pkgdir}"/usr/bin/meld
 }




More information about the arch-commits mailing list