summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 773c4fa8b86903dd4422f2def9731e923a71f803 (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
pkgname=exciting
pkgver=7
pkgrel=1
pkgdesc="Full-potential all-electron density-functional-theory package
implementing the families of linearized augmented planewave methods."
arch=("x86_64")
url="http://exciting-code.org"
license=("GPL")
depends=(gcc-fortran blas openmp openmpi)
source=("http://exciting.wdfiles.com/local--files/nitrogen/exciting.nitrogen.tar.gz")
md5sums=('8447e7b325ce3f00f90c7ab8781b889c')

build() {
	cd "$srcdir/exciting"
	cp build/platforms/make.inc.gfortran build/make.inc
	export FCCPP="cpp"
	make
}

package() {
	cd "$srcdir/exciting"
	install -d "$pkgdir/usr/bin"
	cp -r bin/* "$pkgdir/usr/bin"
	install -d "$pkgdir/usr/share/doc/exciting"
	chmod -R 755 docs
	cp -r docs/* "$pkgdir/usr/share/doc/exciting"
}