updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / getdp / PKGBUILD
blobc0d02eecb565b28fe293a7402325a7d03879c4b5
1 # Contributor: mickele <mimocciola AT yahoo DOT com>
2 # Contributor: Christoph Siegenthaler <csi AT gmx DOT ch >
3 pkgname=getdp
4 pkgver=1.2.1
5 pkgrel=2
6 pkgdesc="GetDP is a general finite element solver using mixed elements to discretize de Rham-type complexes in one, two and three dimensions"
7 arch=('i686' 'x86_64')
8 url="http://www.geuz.org/getdp/"
9 license=('GPL')
10 depends=('gcc-libs' 'blas' 'lapack' 'gsl')
11 makedepends=('make' 'gcc' 'sed')
12 optdepends=()
13 source=(http://www.geuz.org/$pkgname/src/${pkgname}-${pkgver}-source.tgz)
14 md5sums=('5f5d7cdaeaeea3dcd15ba900e9f7e896')
16 build(){
17   cd "${srcdir}/${pkgname}-${pkgver}" || return 1
18   sed -e '/ *EXTERNAL *ETIME/d' -i Arpack/second.f 
19   ./configure --prefix=/usr || return 1
20   make || return 1
21   make bindir="${pkgdir}/usr/bin" mandir="${pkgdir}/usr/share/man" install || return 1
22