updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fiat / PKGBUILD
blobcd1e7e957b2f52a23802083ab3143d8217cbd9b8
1 # Maintainer: Myles English <myles at rockhead dot biz>
2 pkgname=fiat
3 pkgver=0.9.9
4 pkgrel=1
5 pkgdesc="Supports generation of arbitrary order instances of the Lagrange elements on lines, triangles, and tetrahedra."
6 arch=(any)
7 url="http://launchpad.net/fiat"
8 license=('GPL')
9 groups=('fenics')
10 depends=('python2' 'scons' 'python-scientific')
11 options=(!emptydirs)
12 source=($url/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz)
13 md5sums=('62fd06a9a28537b4f73a98f345f91db6')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   find ${srcdir} -name "*" -type f -exec \
18       sed -i 's#\(/usr/bin/env \|/usr/bin/\)python[2-3]*#\1python2#' {} \;
19   python2 setup.py install --prefix=/usr --root="$pkgdir"