updated on Tue Jan 17 00:10:10 UTC 2012
[aur-mirror.git] / pyamg / PKGBUILD
blob2024a0d378ab35bd2faa4d85701f5f1bd76c1227
1 # Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
2 pkgname=pyamg
3 pkgver=2.0.0
4 pkgrel=2
5 pkgdesc="Algebraic Multigrid Solvers in Python"
6 arch=('i686' 'x86_64')
7 url="http://www.pyamg.org/"
8 license=('BSD')
9 depends=('python2' 'python2-numpy' 'python2-scipy' 'python2-nose' 'python2-matplotlib')
10 makedepends=('python2-distribute')
11 source=(http://pyamg.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
12 sha1sums=('ffb7fef3f29b5aeb0b2ff3155ee871e865d9fb00')
14 build() {
15    cd "${srcdir}/${pkgname}-${pkgver}"
16    python2 setup.py build
19 package() {
20    cd "${srcdir}/${pkgname}-${pkgver}"
21    python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1