updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-spidermonkey / PKGBUILD
blobe710976e94a2fd62ce0f175f1a9938e2de139f9e
1 # Maintainer: Cesar Ramone <cesar@ovejo.com>
2 pkgname=python-spidermonkey
3 pkgver=0.0.10
4 pkgrel=1
5 pkgdesc="JavaScript / Python bridge."
6 url="http://github.com/davisp/python-spidermonkey"
7 arch=('i686' 'x86_64')
8 license=('MIT')
9 depends=('python2')
10 makedepends=()
11 conflicts=()
12 replaces=()
13 backup=()
14 install=
15 source=(http://pypi.python.org/packages/source/p/python-spidermonkey/$pkgname-$pkgver.tar.gz)
16 md5sums=('baf9d5fcd30c80829e9e65071a8238d1')
18 build() {
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
22             
23                 install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE