summaryrefslogtreecommitdiff
path: root/extra/mercurial
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-12 11:21:01 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-12 11:21:01 -0300
commitb337b14a9cce5d126d55695c97698484ac52a8ea (patch)
tree8aa6281e14d6bd9b0876ae0e641d76de9e51cce0 /extra/mercurial
parent66873986693bc3c8812d12f3919f1977b9a30674 (diff)
parent079c689ef9b252fd82dbf9b182ec2517c48f8737 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/conkeror-git/PKGBUILD community/spidermonkey/PKGBUILD core/gcc/PKGBUILD extra/file-roller/PKGBUILD extra/pixman/PKGBUILD extra/poppler/PKGBUILD extra/qtiplot/PKGBUILD extra/xulrunner/PKGBUILD extra/xulrunner/xulrunner-omnijar.patch kde-unstable/akonadi/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD multilib/gcc-multilib/PKGBUILD testing/mesa/PKGBUILD
Diffstat (limited to 'extra/mercurial')
-rw-r--r--extra/mercurial/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/extra/mercurial/PKGBUILD b/extra/mercurial/PKGBUILD
index 97df537dc..5f1367ce5 100644
--- a/extra/mercurial/PKGBUILD
+++ b/extra/mercurial/PKGBUILD
@@ -1,22 +1,23 @@
-# $Id: PKGBUILD 130178 2011-07-03 11:13:45Z giovanni $
+# $Id: PKGBUILD 131160 2011-07-11 12:44:25Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=mercurial
pkgver=1.9
-pkgrel=1
+pkgrel=2
pkgdesc="A scalable distributed SCM tool"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.selenic.com/mercurial"
license=('GPL')
depends=('python2')
optdepends=('tk: for the hgk GUI')
+backup=('etc/mercurial/hgrc')
source=(http://www.selenic.com/mercurial/release/${pkgname}-${pkgver}.tar.gz
mercurial.profile)
md5sums=('d4842129fa2732eb6ed1180467bc32e2'
'43e1d36564d4c7fbe9a091d3ea370a44')
-build() {
+package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=1
@@ -38,4 +39,8 @@ build() {
# set some variables
install -m755 -d ${pkgdir}/etc/profile.d
install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh"
+
+ # install configuration file
+ install -m755 -d ${pkgdir}/etc/mercurial
+ install -m644 contrib/sample.hgrc "${pkgdir}/etc/mercurial/hgrc"
}