From f0fa42126da9e3eec6b98388b35c67929fa20dae Mon Sep 17 00:00:00 2001 From: root Date: Sun, 4 Mar 2012 00:01:47 +0000 Subject: Sun Mar 4 00:01:47 UTC 2012 --- extra/mercurial/PKGBUILD | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'extra/mercurial') diff --git a/extra/mercurial/PKGBUILD b/extra/mercurial/PKGBUILD index 224342902..e3185cd9f 100644 --- a/extra/mercurial/PKGBUILD +++ b/extra/mercurial/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 151621 2012-02-28 20:53:00Z giovanni $ +# $Id: PKGBUILD 151766 2012-03-02 11:44:52Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Douglas Soares de Andrade pkgname=mercurial -pkgver=2.1 -pkgrel=2 +pkgver=2.1.1 +pkgrel=1 pkgdesc="A scalable distributed SCM tool" arch=('i686' 'x86_64') url="http://mercurial.selenic.com/" @@ -13,15 +13,13 @@ depends=('python2') optdepends=('tk: for the hgk GUI') backup=('etc/mercurial/hgrc') source=("http://mercurial.selenic.com/release/${pkgname}-${pkgver}.tar.gz" - 'mercurial.profile' - 'mercurial-2.1-return-code.patch') -md5sums=('d2ca44f8d0129ab50639143af99d9363' - '43e1d36564d4c7fbe9a091d3ea370a44' - '025e2ec8acc18a9b2a1b4f51f7bddbe3') + 'mercurial.profile') +md5sums=('368fab4705ebd4d1296fdd6bd2fe6272' + '43e1d36564d4c7fbe9a091d3ea370a44') package() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/mercurial-2.1-return-code.patch" + python2 setup.py install --root="${pkgdir}/" --optimize=1 sed -i -e 's#env python#env python2#' \ -- cgit v1.2.3-54-g00ecf