updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / pyjavascriptcore-bzr / PKGBUILD
blob3e78b049f36341594bc9d6331ec3b7fcce4e10db
1 # Maintainer: sbillaudelle <stein@cream-project.org>
3 pkgname=pyjavascriptcore-bzr
4 pkgver=62
5 pkgrel=2
6 pkgdesc="Use Python to tap into the whole power of WebKit."
7 arch=('i686' 'x86_64')
8 url="https://launchpad.net/pyjavascriptcore"
9 license=('LGPL')
10 depends=('cython')
11 makedepends=('bzr')
12 source=()
13 md5sums=()
15 _bzrtrunk=lp:pyjavascriptcore
16 _bzrmod=trunk
18 build()
20     cd $srcdir/
22     msg "Connecting to the server..."
24     if [ ! -d ./${_bzrmod} ]; then
25         bzr co ${_bzrtrunk} ${_bzrmod} -r ${pkgver}
26     else
27         bzr up ${_bzrmod}
28     fi
29     
30     msg "BZR checkout done or server timeout."
32     cd ${_bzrmod}
33     
34     python setup.py install --prefix=/usr --root="$pkgdir" || return