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

Rémy Oudompheng remy at archlinux.org
Fri Sep 3 06:44:08 UTC 2010


    Date: Friday, September 3, 2010 @ 02:44:08
  Author: remy
Revision: 89673

upgpkg: pidgin 2.7.3-2
Rebuild for python2.

Modified:
  pidgin/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-03 06:01:10 UTC (rev 89672)
+++ PKGBUILD	2010-09-03 06:44:08 UTC (rev 89673)
@@ -7,20 +7,21 @@
 pkgbase=('pidgin')
 pkgname=('libpurple' 'pidgin' 'finch')
 pkgver=2.7.3
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://pidgin.im/"
 license=('GPL')
-makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'python'
+makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'python2'
              'hicolor-icon-theme' 'silc-toolkit' 'gstreamer0.10-base' 'farsight2' 'avahi'
              'tk' 'ca-certificates' 'intltool' 'networkmanager')
 options=('!libtool')
-source=(http://sourceforge.net/projects/${pkgbase}/files/Pidgin/${pkgver}/${pkgbase}-${pkgver}.tar.bz2/download)
+source=(${pkgbase}-${pkgver}.tar.bz2::http://sourceforge.net/projects/${pkgbase}/files/Pidgin/${pkgver}/${pkgbase}-${pkgver}.tar.bz2/download)
 md5sums=('e4bbadadae85e5e008690b52dd51f102')
 
 build() {
     cd "${srcdir}/${pkgbase}-${pkgver}"
-
+    sed -i "s#env python#env python2#" */plugins/*.py
+    sed -i "s#env python#env python2#" libpurple/purple-{remote,notifications-example,url-handler}
     ./configure --prefix=/usr \
                 --sysconfdir=/etc \
                 --disable-schemas-install \
@@ -30,6 +31,7 @@
                 --enable-cyrus-sasl \
                 --disable-doxygen \
                 --enable-nm \
+		--with-python=/usr/bin/python2 \
                 --with-system-ssl-certs=/etc/ssl/certs
     make
 }
@@ -48,7 +50,7 @@
 
 package_pidgin(){
     pkgdesc="Multi-protocol instant messaging client"
-    depends=("libpurple=$pkgver" 'startup-notification' 'gtkspell' 'libxss' 'python'
+    depends=("libpurple=$pkgver" 'startup-notification' 'gtkspell' 'libxss' 'python2'
             'hicolor-icon-theme' 'gstreamer0.10-base')
     optdepends=('aspell: for spelling correction'
                 'avahi: Bonjour protocol support'
@@ -73,7 +75,7 @@
 }
 package_finch(){
     pkgdesc="A ncurses-based messaging client"
-    depends=("libpurple=$pkgver" 'python')
+    depends=("libpurple=$pkgver" 'python2')
     optdepends=('avahi: Bonjour protocol support'
                 'ca-certificates: SSL CA certificates'
                 'tk: Tcl/Tk scripting support')




More information about the arch-commits mailing list