updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / llvm-py / PKGBUILD
blob01d41e9a1a12be930df616c46ccd40df0791c71e
1 # $Id$
2 # Maintainer: Sebastien Binet <binet@cern.ch>
3 pkgname=llvm-py  
4 pkgver=0.6
5 pkgrel=3
6 pkgdesc="Python Bindings for LLVM"
7 url="http://mdevan.nfshost.com/llvm-py/index.html"
8 arch=('i686' 'x86_64')
9 license=('custom:BSD')
10 depends=('llvm<=2.7' 'python2>=2.5')
11 makedepends=(svn)
12 conflicts=()
13 replaces=()
14 backup=()
15 source=(http://llvm-py.googlecode.com/files/llvm-py-$pkgver.tar.bz2)
16 md5sums=('eec62e4ce6f95f6e01edcba59747933d')
19 build() {
20   cd $startdir/src
21   #svn co http://llvm-py.googlecode.com/svn/trunk/ llvm-py-${pkgver}
22   cd llvm-py-${pkgver}
23   python2 setup.py install \
24     --prefix=/usr \
25     --root=$startdir/pkg \
26     --llvm-config=`which llvm-config` \
27     || return 1