summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mercurial/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-01-12 19:19:50 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-01-12 19:19:50 (GMT)
commit6c619a60fd89b5e75a93cff06977c552ddf1e621 (patch)
tree630ca50ea1c128c4be85ce920ecf034c561bf7fe /abs/extra-testing/mercurial/PKGBUILD
parent0b2b9b97e95f8f8bfda1d1fe09136d121cd0750d (diff)
parent634dff8fdd0a9c866c92f0020f282c23d1a438d8 (diff)
downloadlinhes_pkgbuild-6c619a60fd89b5e75a93cff06977c552ddf1e621.zip
linhes_pkgbuild-6c619a60fd89b5e75a93cff06977c552ddf1e621.tar.gz
linhes_pkgbuild-6c619a60fd89b5e75a93cff06977c552ddf1e621.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD.git
Conflicts: abs/core-testing/LinHES-config/PKGBUILD
Diffstat (limited to 'abs/extra-testing/mercurial/PKGBUILD')
-rw-r--r--abs/extra-testing/mercurial/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra-testing/mercurial/PKGBUILD b/abs/extra-testing/mercurial/PKGBUILD
new file mode 100644
index 0000000..74de74a
--- /dev/null
+++ b/abs/extra-testing/mercurial/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 23135 2009-01-03 12:10:17Z 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.1.2
+pkgrel=1
+pkgdesc="A scalable distributed SCM tool"
+url="http://www.selenic.com/mercurial"
+license=("GPL")
+depends=('python>=2.5')
+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=('4fd3b9a2e5dcd025840c3849b136bec8')