1 # Contributor: Kosenko Roman <madkite@gmail.com>
2 pkgname=mercurial-forest
5 pkgdesc='Forest Extension for Mercurial (allows operations on trees with nested Mercurial repositories)'
8 depends=('mercurial>=0.9.3')
9 url='http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension'
10 install="${pkgname}.install"
14 _download_repository_url='http://hg.akoha.org/hgforest'
18 hg clone ${_download_repository_url} hgforest
19 phyton_version=$(python -V 2>&1 | cut -d' ' -f2)
20 install -m0644 -D hgforest/forest.py $startdir/pkg/usr/lib/python${phyton_version%.*}/site-packages/hgext/forest.py