1 # Maintainer: Cesar Ramone <cesar@ovejo.com>
2 pkgname=python-spidermonkey
5 pkgdesc="JavaScript / Python bridge."
6 url="http://github.com/davisp/python-spidermonkey"
15 source=(http://pypi.python.org/packages/source/p/python-spidermonkey/$pkgname-$pkgver.tar.gz)
16 md5sums=('baf9d5fcd30c80829e9e65071a8238d1')
19 cd $startdir/src/$pkgname-$pkgver
20 python2 setup.py build || return 1
21 python2 setup.py install --prefix=/usr --root=$startdir/pkg || return 1
23 install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE