summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71cca0ec5e083b42086c23adc2976777b6e8f932 (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
33
34
35
# Maintainer: Robin Hilgers <r.hilgers@fz-juelich.de>
pkgname=fleur-develop
pkgver=latest
pkgrel=5
pkgdesc="FLEUR is  a feature-full and freely available FLAPW (full-potential linearized augmented planewave) code, based on density-functional theory."
arch=(x86_64)
url="https://iffgit.fz-juelich.de/fleur/fleur.git"
license=('MIT')
depends=()
makedepends=(git cmake gcc gcc8-fortran blas lapack libxml2 hdf5)
optdepends=()
provides=(fleur)
source=("git+$url")
noextract=()

build() {
        export FC=gfortran-8
        export CC=gcc
        export CXX=g++
	./fleur/configure.sh -l dev-serial -includedir /usr/include/
        cd "build.dev-serial" 
	make -j
}

check() {
	cd "build.dev-serial" 
        ctest
        rm -r "Testing/"
        }

package() {
	cp -r "build.dev-serial" "$pkgdir/"
}

md5sums=('SKIP')