[arch-commits] Commit in parallel-netcdf-openmpi/repos (2 files)

Bruno Pagani archange at archlinux.org
Sun Jun 18 15:27:40 UTC 2017


    Date: Sunday, June 18, 2017 @ 15:27:40
  Author: archange
Revision: 238079

archrelease: copy trunk to community-x86_64

Added:
  parallel-netcdf-openmpi/repos/community-x86_64/
  parallel-netcdf-openmpi/repos/community-x86_64/PKGBUILD
    (from rev 238078, parallel-netcdf-openmpi/trunk/PKGBUILD)

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

Copied: parallel-netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 238078, parallel-netcdf-openmpi/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-06-18 15:27:40 UTC (rev 238079)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
+
+_pkg=parallel-netcdf
+_mpi=openmpi
+pkgname=${_pkg}-${_mpi}
+pkgver=1.8.1
+pkgrel=1
+pkgdesc="A Parallel I/O Library for NetCDF File Access"
+arch=('x86_64') # Tests fail for 'i686'
+url="https://trac.mcs.anl.gov/projects/parallel-netcdf"
+license=('custom')
+depends=('openmpi')
+makedepends=('gcc-fortran')
+provides=('parallel-netcdf')
+conflicts=('parallel-netcdf')
+replaces=('parallel-netcdf')
+options=('!makeflags')
+source=("http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${_pkg}-${pkgver}.tar.gz")
+sha1sums=('2a8179158731f3fa24c9b183b4b1442e8853d229')
+
+build() {
+    cd ${_pkg}-${pkgver}
+    ./configure --prefix=/usr
+    make
+}
+
+check() {
+    cd ${_pkg}-${pkgver}
+    make check
+    make ptest
+}
+
+package() {
+    cd ${_pkg}-${pkgver}
+    make prefix="${pkgdir}/usr" install
+
+    install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}
+}



More information about the arch-commits mailing list