updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / copperhead-hg / PKGBUILD
blobb330c40cf214c271adbc19808a0555782e386d76
1 # Maintainer: Michael Schubert <mschu.dev at google mail>
2 pkgname=copperhead-hg
3 pkgver=2
4 pkgrel=1
5 pkgdesc="Provides a data-parallel subset of Python for NVidia GPU programming (CUDA)"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/copperhead/"
8 license=('Apache 2.0')
9 depends=('cuda' 'thrust' 'pycuda' 'python2-codepy' 'python-decorator')
10 makedepends=('mercurial' 'pytools')
11 optdepends=('boost' 'python2-matplotlib' 'python2-scipy' 'plac')
13 _hgrepo=copperhead
14 _hgroot=https://copperhead.googlecode.com/hg/
16 build() {
17   cd "$srcdir/$_hgrepo"
18   python2 setup.py build
20   
21 package() {
22   cd "$srcdir/$_hgrepo"
23   install --prefix=/usr --root="$pkgdir" --optimize=1