summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4d1e7615fc2e22c8810ecb011b6944423650b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: entshuld [edgar (not at) openmail dot cc]
# Contributor: Sigvald Marholm <marholm@marebakken.com>
# Contributor: Georg S. Voelker <voelker@maibox.org>
# Based on python-fiat-git, maintained by Lucas H. Gabrielli <heitzmann@gmail.com>

_base=fiat
pkgname=python-${_base}
pkgdesc="Supports generation of arbitrary order instances of the Lagrange elements on lines, triangles, and tetrahedra (stable)."
pkgver=2019.1.0
pkgrel=1
arch=('any')
url="https://github.com/FEniCS/${_base}"
license=('LGPL3')
groups=('fenics')
conflicts=('python-fiat-git')
depends=('python-numpy' 'python-sympy')
makedepends=("python-setuptools")
options=(!emptydirs)
source=(${pkgname}-${pkgver}.tar.gz::https://bitbucket.org/fenics-project/${_base}/downloads/${_base}-${pkgver}.tar.gz)
sha256sums=('341a1046cbe0f5f2eb26630c2f71f378b0dca51daf9892a54a2ff193970371e9')

build() {
	cd ${srcdir}/${_base}-${pkgver}
 	python setup.py build
}

package() {
	cd ${srcdir}/${_base}-${pkgver}
 	python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
}

# vim: shiftwidth=2 softtabstop=2 tabstop=2 noexpandtab