summaryrefslogtreecommitdiff
path: root/extra/mercurial
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mercurial')
-rw-r--r--extra/mercurial/PKGBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/extra/mercurial/PKGBUILD b/extra/mercurial/PKGBUILD
index 0d171589d..bca7147b7 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 <giovanni@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=mercurial
-pkgver=2.1
-pkgrel=2
+pkgver=2.1.1
+pkgrel=1
pkgdesc="A scalable distributed SCM tool"
arch=('i686' 'x86_64' 'mips64el')
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#' \