1 # Maintainer: vae77 <fernandogrd@.com>
6 pkgdesc="Small hg extension to warn about questionable code changes on commit."
8 install=$pkgname.install
9 url="http://mercurial.selenic.com/wiki/CodesmellExtension"
12 makedepends=('mercurial')
14 _hgroot="https://hg@bitbucket.org/birkenfeld"
20 msg "Connecting to Mercurial server...."
22 if [ -d $_hgrepo ] ; then
25 msg "The local files are updated."
27 hg clone $_hgroot $_hgrepo
30 msg "Mercurial checkout done or server timeout"
36 install -D -m644 $_hgrepo/hgcodesmell.py $pkgdir/usr/lib/python2.7/site-packages/hgcodesmell.py