1 # Contributor: Leontius Adhika Pradhana <leon@leapon.net>
6 pkgdesc="A collection of extra utilities based on RDFLib"
7 url="http://code.google.com/p/rdfextras/"
10 depends=('python2' 'rdflib')
11 makedepends=('mercurial')
15 _hgroot="https://rdfextras.googlecode.com/hg/"
20 msg "Connecting to Mercurial server...."
22 if [ -d $_hgrepo ] ; then
24 hg pull -u || return 1
25 msg "The local files are updated."
27 hg clone $_hgroot $_hgrepo || return 1
29 msg "Mercurial checkout done or server timeout"
30 msg "Running setup.py..."
32 python2 setup.py build || return 1
33 python2 setup.py install --root=$pkgdir || return 1