[arch-commits] Commit in mercurial/trunk (PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Tue Feb 9 20:51:30 UTC 2010


    Date: Tuesday, February 9, 2010 @ 15:51:29
  Author: giovanni
Revision: 67930

upgpkg: mercurial 1.4.3-2
    Fixed FS17350

Modified:
  mercurial/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-09 20:50:39 UTC (rev 67929)
+++ PKGBUILD	2010-02-09 20:51:29 UTC (rev 67930)
@@ -4,15 +4,17 @@
 
 pkgname=mercurial
 pkgver=1.4.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A scalable distributed SCM tool"
 arch=('i686' 'x86_64')
 url="http://www.selenic.com/mercurial"
 license=('GPL')
 depends=('python>=2.6')
 optdepends=('tk: for the hgk GUI')
-source=(http://www.selenic.com/mercurial/release/${pkgname}-${pkgver}.tar.gz)
-md5sums=('b075a2a6a08c10405ef3483aecb1a991')
+source=(http://www.selenic.com/mercurial/release/${pkgname}-${pkgver}.tar.gz
+        mercurial.profile)
+md5sums=('b075a2a6a08c10405ef3483aecb1a991'
+         '43e1d36564d4c7fbe9a091d3ea370a44')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -29,4 +31,8 @@
 
   vimpath="${pkgdir}/usr/share/vim/vimfiles"
   install -Dm644 contrib/vim/HGAnnotate.vim "${vimpath}/syntax/HGAnnotate.vim" || return 1
+
+  # set some variables
+  install -m755 -d ${pkgdir}/etc/profile.d
+  install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh" || return 1
 }




More information about the arch-commits mailing list