1 # Maintainer: Myles English <myles at rockhead dot biz>
5 pkgdesc="Supports generation of arbitrary order instances of the Lagrange elements on lines, triangles, and tetrahedra."
7 url="http://launchpad.net/fiat"
10 depends=('python2' 'scons' 'python-scientific')
12 source=($url/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz)
13 md5sums=('62fd06a9a28537b4f73a98f345f91db6')
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"