updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / fipy / PKGBUILD
blobd1e37a051d5b6b077fed3209118e252fb048b510
1 # Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
2 pkgname=fipy
3 pkgver=2.1.2
4 pkgrel=2
5 pkgdesc="Partial differential equation solver for Python, based on finite volume approach."
6 arch=('any')
7 url="http://www.ctcms.nist.gov/fipy"
8 license=('Public Domain')
9 source=(http://matforge.org/fipy/downloader/download/release/17/file/53/Fipy-${pkgver}.tar.gz)
10 depends=('python2' 'python2-numpy' 'pysparse' 'python2-scipy' 'python2-matplotlib')
11 makedepends=('python2-distribute')
12 sha1sums=('0f1b33aade066c6b53fd5840ca642b95ecb0cd25')
14 build() {
15    cd "${srcdir}/FiPy-${pkgver}"
16    python2 setup.py build
19 package() {
20    cd "${srcdir}/FiPy-${pkgver}"
21    python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1