blob: 99080b89579e5bb0c28ced737c00e5f43659430d (
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: Anton Kudelin <kudelin at protonmail dot com>
pkgname=exciting
pkgver=16
_element=oxygen
pkgrel=1
pkgdesc="A full-potential all-electron density-functional-theory package"
arch=("x86_64")
url="https://exciting-code.org"
license=("GPL")
depends=('scalapack' 'arpack')
source=("http://exciting.wdfiles.com/local--files/$_isotope/$pkgname.$_element.tar.gz"
"make.inc")
sha256sums=('2096aa95bf8b0774ea0187a8bac7d3fb6bb6316f3f49ae19936c61401acd0268'
'30503a36da77ee97fd7c6beb4445b1215915fad41e4714368b5584866131e5fe')
prepare() {
cd "$srcdir/$pkgname/build"
cp "$srcdir/make.inc" .
sed -i 's/libs:: libbzint.a fftlib.a libarpack.a libmsec.a libfox leblaiklib.a libxc.a liblbfgs.a/libs:: libbzint.a fftlib.a libmsec.a libfox leblaiklib.a libxc.a liblbfgs.a/g' Make.common
}
build() {
cd "$srcdir/$pkgname"
make mpi
}
package() {
cd "$srcdir/$pkgname"
install -d "$pkgdir/usr/bin"
cp -r bin/* "$pkgdir/usr/bin"
install -d "$pkgdir/usr/share/doc/$pkgname"
chmod -R 755 docs
cp -r docs/* "$pkgdir/usr/share/doc/$pkgname"
}
|