Date: Saturday, September 4, 2010 @ 08:14:38
  Author: remy
Revision: 89840

upgpkg: pebrot 0.8.9-4
Rebuild for python 2.7

Modified:
  pebrot/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-09-04 12:13:31 UTC (rev 89839)
+++ PKGBUILD    2010-09-04 12:14:38 UTC (rev 89840)
@@ -3,18 +3,19 @@
 
 pkgname=pebrot
 pkgver=0.8.9
-pkgrel=3
+pkgrel=4
 pkgdesc="Pebrot is a text MSN messenger client implemented with Python."
 arch=('any')
 url="http://pebrot.sourceforge.net/";
 license=('GPL')
-depends=('python')
+depends=('python2')
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
 md5sums=('a091be98cebde3de00c3dc23df066bac')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  python setup.py install --root=${pkgdir} || return 1
+  sed -i 's#env python#env python2#' utils/{*.py,transparent_bg/setup.py}
+  python2 setup.py install --root=${pkgdir} || return 1
   install -D -m644 pebrotrc ${pkgdir}/etc/pebrotrc
   install -d ${pkgdir}/usr/share/pebrot
   install -m644 logos/*.txt ${pkgdir}/usr/share/pebrot/

Reply via email to