[arch-commits] Commit in mgard/repos (community-x86_64 community-x86_64/PKGBUILD)

Bruno Pagani archange at archlinux.org
Wed Oct 14 17:22:18 UTC 2020


    Date: Wednesday, October 14, 2020 @ 17:22:17
  Author: archange
Revision: 723947

archrelease: copy trunk to community-x86_64

Added:
  mgard/repos/community-x86_64/
  mgard/repos/community-x86_64/PKGBUILD
    (from rev 723946, mgard/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: mgard/repos/community-x86_64/PKGBUILD (from rev 723946, mgard/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-10-14 17:22:17 UTC (rev 723947)
@@ -0,0 +1,29 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=mgard
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="MultiGrid Adaptive Reduction of Data"
+arch=(x86_64)
+url="https://github.com/CODARcode/MGARD"
+license=(Apache)
+depends=(glibc zlib zstd)
+makedepends=(cmake)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('254cc77ca678c746c3808d7fb76c289fce17f2cbb84a1892d6cd2ea078be62f0')
+
+build() {
+  cmake -B build -S ${pkgname^^}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make -C build
+}
+
+check() {
+  cd build
+  # https://github.com/CODARcode/MGARD/issues/105
+  ctest -v || warning "Tests failed"
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list