[arch-commits] Commit in mercurial/repos (extra-i686 extra-i686/PKGBUILD)
Giovanni Scafora
giovanni at archlinux.org
Fri Nov 20 03:56:37 UTC 2009
Date: Thursday, November 19, 2009 @ 22:56:37
Author: giovanni
Revision: 59060
Merged revisions 59059 via svnmerge from
svn+ssh://gerolde.archlinux.org/srv/svn-packages/mercurial/trunk
........
r59059 | giovanni | 2009-11-19 19:55:54 -0800 (gio, 19 nov 2009) | 2 lines
upgpkg: mercurial 1.4-2
Fixed FS17210
........
Modified:
mercurial/repos/extra-i686/ (properties)
mercurial/repos/extra-i686/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++--------------------
1 file changed, 19 insertions(+), 20 deletions(-)
Property changes on: mercurial/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
- /mercurial/trunk:1-59036
+ /mercurial/trunk:1-59059
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2009-11-20 03:55:54 UTC (rev 59059)
+++ extra-i686/PKGBUILD 2009-11-20 03:56:37 UTC (rev 59060)
@@ -1,33 +1,32 @@
# $Id$
-# Contributor: Jeff Mickey <jeff at archlinux.org>
-# Contributor: Giovanni Scafora <linuxmania at gmail.com>
-# Contributor: David 'SleepyDog' <goodluv at gmail.com>
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
pkgname=mercurial
pkgver=1.4
-pkgrel=1
+pkgrel=2
pkgdesc="A scalable distributed SCM tool"
-url="http://www.selenic.com/mercurial"
arch=('i686' 'x86_64')
+url="http://www.selenic.com/mercurial"
license=('GPL')
-depends=('python>=2.6' 'tk')
-source=(http://www.selenic.com/mercurial/release/$pkgname-$pkgver.tar.gz)
+depends=('python>=2.6')
+optdepends=('tk: for the hgk GUI')
+source=(http://www.selenic.com/mercurial/release/${pkgname}-${pkgver}.tar.gz)
md5sums=('951ebd4a8153eaa3c56fc0ce2575ab70')
build() {
- cd $srcdir/$pkgname-$pkgver
- python setup.py install --root $pkgdir || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" || return 1
- 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 -d $pkgdir/usr/share/emacs/site-lisp
- install -m644 contrib/{mq.el,mercurial.el} $pkgdir/usr/share/emacs/site-lisp || return 1
-
- vimpath="$pkgdir/usr/share/vim/vimfiles"
- install -m644 -D contrib/vim/HGAnnotate.vim $vimpath/syntax/HGAnnotate.vim || return 1
+ 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 -d "${pkgdir}/usr/share/emacs/site-lisp"
+ install -m644 contrib/{mq.el,mercurial.el} "${pkgdir}/usr/share/emacs/site-lisp" || return 1
+
+ vimpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -Dm644 contrib/vim/HGAnnotate.vim "${vimpath}/syntax/HGAnnotate.vim" || return 1
}
More information about the arch-commits
mailing list