1 # Maintainer: Bruno Pagani <archange@archlinux.org>
6 pkgdesc="MultiGrid Adaptive Reduction of Data"
8 url="https://github.com/CODARcode/MGARD"
10 depends=(blas lapack glibc yaml-cpp zlib zstd)
11 makedepends=(cmake) # tclap 1.4 required but unreleased
12 # mgard requires catch2 3.x which is currently unreleased
13 #checkdepends=(catch2)
14 source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
15 sha256sums=('2dd153abc9bef7d87923cdefca6243b2050b7522e1d2b196e04c73c5cee6e880')
18 cmake -B build -S ${pkgname^^}-${pkgver} \
19 -DCMAKE_INSTALL_PREFIX=/usr
25 ctest -v --output-on-failure
29 make -C build DESTDIR="${pkgdir}" install
31 rm "${pkgdir}"/usr/include/mgard/MGARDConfig.hpp.in