[arch-commits] Commit in hdf5/repos (2 files)

Bruno Pagani archange at archlinux.org
Wed May 2 22:23:21 UTC 2018


    Date: Wednesday, May 2, 2018 @ 22:23:20
  Author: archange
Revision: 318701

archrelease: copy trunk to community-staging-x86_64

Added:
  hdf5/repos/community-staging-x86_64/
  hdf5/repos/community-staging-x86_64/PKGBUILD
    (from rev 318700, hdf5/trunk/PKGBUILD)

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

Copied: hdf5/repos/community-staging-x86_64/PKGBUILD (from rev 318700, hdf5/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-05-02 22:23:20 UTC (rev 318701)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Tom K <tomk at runbox.com>
+
+pkgname=hdf5
+pkgver=1.10.1
+pkgrel=3
+pkgdesc="General purpose library and file format for storing scientific data"
+arch=('x86_64')
+url="https://www.hdfgroup.org/hdf5/"
+license=('custom')
+depends=('zlib' 'libaec' 'bash')
+makedepends=('time' 'gcc-fortran')
+replaces=('hdf5-cpp-fortran')
+provides=('hdf5-cpp-fortran')
+source=("https://support.hdfgroup.org/ftp/HDF5/releases/${pkgname}-${pkgver:0:4}/${pkgname}-${pkgver/_/-}/src/${pkgname}-${pkgver/_/-}.tar.bz2")
+# https://support.hdfgroup.org/ftp/HDF5/releases/${pkgname}-${pkgver:0:4}/${pkgname}-${pkgver/_/-}/src/${pkgname}-${pkgver/_/-}.md5
+md5sums=('d89893c05ee7ea8611b51bb39450d64e')
+
+build() {
+    cd ${pkgname}-${pkgver/_/-}
+    ./configure \
+        --prefix=/usr \
+        --docdir=/usr/share/doc/hdf5/ \
+        --disable-static \
+        --disable-sharedlib-rpath \
+        --enable-build-mode=production \
+        --enable-hl \
+        --enable-cxx \
+        --enable-fortran \
+        --with-pic \
+        --with-zlib \
+        --with-szlib
+    make
+}
+
+# Check are failing with error while loading shared libraries: libhdf5.so.101: cannot open shared object file: No such file or directory
+#check() {
+#    cd ${pkgname}-${pkgver/_/-}
+#    make check
+#}
+
+package() {
+    cd ${pkgname}-${pkgver/_/-}
+
+    make DESTDIR="${pkgdir}" install
+
+    rm -rf "${pkgdir}"/usr/lib/libdynlib*.so
+
+    install -dm755 "${pkgdir}"/usr/share/${pkgname}
+    mv "${pkgdir}"/usr/share/{hdf5_examples,${pkgname}/examples}
+
+    install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+



More information about the arch-commits mailing list