summaryrefslogtreecommitdiff
path: root/extra/mercurial
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-04 23:11:10 +0000
committerroot <root@rshg047.dnsready.net>2011-07-04 23:11:10 +0000
commit9d2caacbc33de06407311a5da87e5d22e0266435 (patch)
treec0eb320a79d1e1943d2531e3fe3c1422367cb48d /extra/mercurial
parent067b127a853780b2b4ae7236dcdaaf72396dfa86 (diff)
Mon Jul 4 23:11:10 UTC 2011
Diffstat (limited to 'extra/mercurial')
-rw-r--r--extra/mercurial/PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/extra/mercurial/PKGBUILD b/extra/mercurial/PKGBUILD
index f9800e4ae..89d828938 100644
--- a/extra/mercurial/PKGBUILD
+++ b/extra/mercurial/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 126289 2011-06-04 09:29:40Z giovanni $
+# $Id: PKGBUILD 130178 2011-07-03 11:13:45Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=mercurial
-pkgver=1.8.4
+pkgver=1.9
pkgrel=1
pkgdesc="A scalable distributed SCM tool"
arch=('i686' 'x86_64')
@@ -13,29 +13,29 @@ depends=('python2')
optdepends=('tk: for the hgk GUI')
source=(http://www.selenic.com/mercurial/release/${pkgname}-${pkgver}.tar.gz
mercurial.profile)
-md5sums=('b3dcc3de473e003dd1cc0500dcd9de47'
+md5sums=('d4842129fa2732eb6ed1180467bc32e2'
'43e1d36564d4c7fbe9a091d3ea370a44')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}/" --optimize=1 || return 1
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
sed -i -e 's#env python#env python2#' \
"${pkgdir}"/usr/lib/python2.7/site-packages/mercurial/lsprof.py
install -d ${pkgdir}/usr/share/man/{man1,man5}
- install -m644 doc/hg.1 "${pkgdir}/usr/share/man/man1" || return 1
- install -m644 doc/{hgrc.5,hgignore.5} "${pkgdir}/usr/share/man/man5" || return 1
- install -m755 contrib/hgk "${pkgdir}/usr/bin" || return 1
- install -m644 -D contrib/zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_hg" || return 1
- install -m644 -D contrib/bash_completion "${pkgdir}/etc/bash_completion.d/hg" || return 1
+ install -m644 doc/hg.1 "${pkgdir}/usr/share/man/man1"
+ install -m644 doc/{hgrc.5,hgignore.5} "${pkgdir}/usr/share/man/man5"
+ install -m755 contrib/hgk "${pkgdir}/usr/bin"
+ install -m644 -D contrib/zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_hg"
+ install -m644 -D contrib/bash_completion "${pkgdir}/etc/bash_completion.d/hg"
install -d "${pkgdir}/usr/share/emacs/site-lisp"
- install -m644 contrib/{mq.el,mercurial.el} "${pkgdir}/usr/share/emacs/site-lisp" || return 1
+ install -m644 contrib/{mq.el,mercurial.el} "${pkgdir}/usr/share/emacs/site-lisp"
vimpath="${pkgdir}/usr/share/vim/vimfiles"
- install -Dm644 contrib/vim/HGAnnotate.vim "${vimpath}/syntax/HGAnnotate.vim" || return 1
+ install -Dm644 contrib/vim/HGAnnotate.vim "${vimpath}/syntax/HGAnnotate.vim"
# set some variables
install -m755 -d ${pkgdir}/etc/profile.d
- install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh" || return 1
+ install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh"
}