1 # Contributor: <sagikliwon@gmail.com>
6 pkgdesc="QT commit tool"
7 url="http://qct.sourceforge.net/"
10 depends=('python' 'pyqt')
11 makedepends=('mercurial')
15 _hgroot='http://bitbucket.org/sborho/'
21 # update the repo, else clone a new one
22 if [ -d $_hgrepo ]; then
27 hg clone ${_hgroot}/${_hgrepo}
32 python setup.py install --root=$startdir/pkg || return 1
34 mkdir -p $startdir/pkg/usr/lib/python2.6/site-packages/hgext/
35 cp plugins/qct.py $startdir/pkg/usr/lib/python2.6/site-packages/hgext/
37 mkdir -p $startdir/pkg/usr/share/qct/plugins/
38 cp plugins/qctBzrPlugin.py $startdir/pkg/usr/share/qct/plugins/