blob: 6bfd44b6a9f0b4c97b17b0e550891331cbf4890f (
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
36
37
|
# Maintainer: Anton Kudelin <kudelin at proton dot me>
pkgname=libvdwxc
pkgver=0.4.0
pkgrel=3
pkgdesc="A library for vdW-DF exchange-correlation functionals"
arch=("x86_64" "aarch64")
url="https://libvdwxc.org"
license=('GPL')
depends=('fftw')
makedepends=('gcc-fortran')
source=("https://gitlab.com/$pkgname/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2")
sha256sums=('5fcd37253489931b94ce865bb4e6942250665e269057a50bd532c8697ac19dc7')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
autoreconf -if
}
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
--prefix=/usr \
--with-fftw3 \
--with-mpi
make
}
check() {
cd "$srcdir/$pkgname-$pkgver"
make check
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
|