summaryrefslogtreecommitdiffstats
path: root/abs/extra/mercurial/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/mercurial/PKGBUILD
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/extra/mercurial/PKGBUILD')
-rw-r--r--abs/extra/mercurial/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/mercurial/PKGBUILD b/abs/extra/mercurial/PKGBUILD
new file mode 100644
index 0000000..08d38e3
--- /dev/null
+++ b/abs/extra/mercurial/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 29080 2009-03-05 10:10:06Z douglas $
+# Contributor: Jeff Mickey <jeff@archlinux.org>
+# Contributor: Giovanni Scafora <linuxmania@gmail.com>
+# Contributor: David 'SleepyDog' <goodluv@gmail.com>
+# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
+
+pkgname=mercurial
+pkgver=1.2
+pkgrel=1
+pkgdesc="A scalable distributed SCM tool"
+url="http://www.selenic.com/mercurial"
+license=("GPL")
+depends=('python>=2.6')
+source=(http://www.selenic.com/mercurial/release/$pkgname-$pkgver.tar.gz)
+arch=('i686' 'x86_64')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ python setup.py install --root $startdir/pkg
+
+ install -d $startdir/pkg/usr/share/man/{man1,man5}
+ install -m644 doc/hg.1 $startdir/pkg/usr/share/man/man1
+ install -m644 doc/{hgrc.5,hgignore.5} $startdir/pkg/usr/share/man/man5
+ install -m755 contrib/hgk $startdir/pkg/usr/bin
+ install -m644 -D contrib/zsh_completion $startdir/pkg/usr/share/zsh/site-functions/_hg
+ install -m644 -D contrib/bash_completion $startdir/pkg/etc/bash_completion.d/hg
+ install -d $startdir/pkg/usr/share/emacs/site-lisp
+ install -m644 contrib/{mq.el,mercurial.el} $startdir/pkg/usr/share/emacs/site-lisp
+ install -m644 -D contrib/vim/HGAnnotate.vim $startdir/pkg/usr/share/vim/syntax/HGAnnotate.vim
+
+ # Autoloading plugins to vim = no good.
+ # install -d $startdir/pkg/usr/share/vim/plugin
+ # install -m644 contrib/vim/{hg-menu.vim,hgcommand.vim,patchreview.vim} $startdir/pkg/usr/share/vim/plugin
+}
+md5sums=('ac9d16b078f99f7a89d6865421570f05')