1 # Maintainer: TDY <tdy@gmx.com>
2 # Contributor: Thomas Cyron <thomas@fooo.org>
7 pkgdesc="A revision history browser for mercurial repositories"
9 url="http://www.logilab.org/project/hgview/"
11 depends=('docutils' 'mercurial>=1.0' 'python-egenix-mx-base' 'python2-qscintilla')
12 makedepends=('asciidoc' 'xmlto')
16 _hgroot=http://www.logilab.org/cgi-bin/hgwebdir.cgi
22 if [[ -d $_hgrepo/.hg ]]; then
23 cd $_hgrepo && hg pull -u && cd ..
25 hg clone $_hgroot/$_hgrepo
29 hg clone $_hgrepo $_hgrepo-build
32 python2 setup.py build
36 cd "$srcdir/$_hgrepo-build"
37 python2 setup.py install --prefix=/usr --root="$pkgdir"