diff options
author | a.kudelin | 2019-12-01 17:32:41 +0300 |
---|---|---|
committer | a.kudelin | 2019-12-01 17:32:41 +0300 |
commit | 22ef611e999faab7561b48f226c36ff65bd38e10 (patch) | |
tree | 145fac6511aa39ce522c65b7e5656e61c3427229 /PKGBUILD | |
download | aur-22ef611e999faab7561b48f226c36ff65bd38e10.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c6a27cbde711 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Anton Kudelin <kudelin at protonmail dot com> + +pkgname=libvdwxc +pkgver=0.4.0 +pkgrel=1 +pkgdesc="A library for vdW-DF exchange-correlation functionals" +arch=("x86_64") +url="https://libvdwxc.org/" +license=('GPL') +depends=('fftw-mpi') +makedepends=('gcc-fortran') +source=("https://gitlab.com/$pkgname/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2") +sha256sums=('5fcd37253489931b94ce865bb4e6942250665e269057a50bd532c8697ac19dc7') + +prepare() { + cd $pkgname-$pkgver + autoreconf -if +} + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --with-fftw3 \ + --with-mpi + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} |