[arch-commits] Commit in sz/repos (2 files)
Bruno Pagani
archange at gemini.archlinux.org
Tue Jul 20 23:51:03 UTC 2021
Date: Tuesday, July 20, 2021 @ 23:51:03
Author: archange
Revision: 980589
archrelease: copy trunk to community-staging-x86_64
Added:
sz/repos/community-staging-x86_64/
sz/repos/community-staging-x86_64/PKGBUILD
(from rev 980588, sz/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: sz/repos/community-staging-x86_64/PKGBUILD (from rev 980588, sz/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-07-20 23:51:03 UTC (rev 980589)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=sz
+pkgver=2.1.11.2
+pkgrel=1
+pkgdesc="Modular parametrizable lossy compressor framework for scientific data"
+arch=(x86_64)
+url="https://szcompressor.org/"
+license=(BSD)
+depends=(glibc gcc-libs)
+makedepends=(cmake gcc-fortran hdf5 netcdf python python-numpy swig)
+source=(https://github.com/szcompressor/SZ/releases/download/${pkgver}/sz-${pkgver}.tar.gz)
+sha256sums=('e4f8ad8f4cb232b7bc20cd2924a2a338495119123c21018b91af9e1ffe3fb94d')
+
+build() {
+ cmake -B build -S SZ-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DBUILD_FORTRAN=ON \
+ -DBUILD_HDF5_FILTER=ON \
+ -DBUILD_NETCDF_READER=ON \
+ -DBUILD_PYTHON_WRAPPER=ON
+ make -C build
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+ install -Dm644 SZ-${pkgver}/copyright-and-BSD-license.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+ rm "${pkgdir}"/usr/bin/test*
+}
More information about the arch-commits
mailing list