1 # Maintainer: Myles English <myles at rockhead dot biz>
5 pkgdesc="A compiler for finite element variational forms."
7 url="http://launchpad.net/ffc"
10 depends=('python2' 'fiat' 'ufc' 'ufl' 'python2-numpy')
11 optdepends=('FErari: optimisation support')
13 source=($url/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz)
14 md5sums=('2e8f6689de38604e9594f1ef798f207c')
17 cd "$srcdir/$pkgname-$pkgver"
18 find ${srcdir} -name "*" -type f -exec \
19 sed -i 's#\(/usr/bin/env \|/usr/bin/\)python[2-3]*#\1python2#' {} \;
20 python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1