summaryrefslogtreecommitdiff
path: root/extra/mercurial/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-04 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-03-04 00:01:47 +0000
commitf0fa42126da9e3eec6b98388b35c67929fa20dae (patch)
tree0a4ad5b073e8500ff0e8920ba509942598576463 /extra/mercurial/PKGBUILD
parentd8fb549de0ef3299436c448f7b45fd8ebee8e733 (diff)
Sun Mar 4 00:01:47 UTC 2012
Diffstat (limited to 'extra/mercurial/PKGBUILD')
-rw-r--r--extra/mercurial/PKGBUILD16
1 files changed, 7 insertions, 9 deletions
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 <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')
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#' \