1 # Contributor: DasIch <dasdasich@googlemail.com>
3 pkgname=sqlalchemy-console-hg
6 pkgdesc="Interactive database command line using sqlalchemy"
9 url="http://codeflow.org/#sqlac"
10 makedepends=('mercurial')
11 depends=('python' 'python-sqlalchemy' 'setuptools')
13 conflicts=('sqlalchemy-console' 'sqlalchemy-console-hg')
14 replaces=('sqlalchemy-console' 'sqlalchemy-console-hg')
17 _hgroot="http://hg.codeflow.org"
18 _hgrepo="sqlalchemy_console"
22 if [ -d ${_hgrepo}/.hg ]; then
26 echo ${_hgroot}/${_hgrepo}
27 hg clone ${_hgroot}/${_hgrepo}
30 python setup.py install --root=$startdir/pkg
31 install -D -m644 LICENSE $pkgdir/usr/share/licenses/sqlalchemy_console/LICENSE
32 install -D -m644 agpl-3.0.txt $pkgdir/usr/share/licenses/sqlalchemy_console/agpl-3.0.txt