diff options
author | Michel Zou | 2022-09-15 20:50:43 +0200 |
---|---|---|
committer | Michel Zou | 2022-09-15 20:50:43 +0200 |
commit | c21bdfbadacef1e2093a64054f2d1433cb72a97c (patch) | |
tree | 8e66bda9f22641e8ab083f247fc4d2470cd4f65a | |
download | aur-c21bdfbadacef1e2093a64054f2d1433cb72a97c.tar.gz |
7.7
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f23e5e1eaa67 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = tasmanian + pkgdesc = Toolkit for Adaptive Stochastic Modeling and Non-Intrusive ApproximatioN + pkgver = 7.7 + pkgrel = 1 + url = https://tasmanian.ornl.gov/ + arch = x86_64 + license = BSD + makedepends = cmake + depends = lapack + source = https://github.com/ORNL/TASMANIAN/archive/refs/tags/v7.7.tar.gz + sha256sums = 85fb3a7b302ea21a3b700712767a59a623d9ab93da03308fa47d4413654c3878 + +pkgname = tasmanian diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..452885445c50 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=tasmanian +pkgver=7.7 +pkgrel=1 +pkgdesc="Toolkit for Adaptive Stochastic Modeling and Non-Intrusive ApproximatioN" +license=('BSD') +arch=('x86_64') +url="https://tasmanian.ornl.gov/" +depends=('lapack') +makedepends=('cmake') +source=("https://github.com/ORNL/TASMANIAN/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('85fb3a7b302ea21a3b700712767a59a623d9ab93da03308fa47d4413654c3878') + +build() { + cd TASMANIAN-$pkgver + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DTasmanian_ENABLE_OPENMP=ON \ + -DTasmanian_ENABLE_BLAS=ON \ + .. + make +} + +package() { + cd TASMANIAN-$pkgver/build + make DESTDIR="$pkgdir" install +} + |