Date: Wednesday, December 20, 2017 @ 22:01:53
  Author: archange
Revision: 275084

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: parallel-netcdf-openmpi/repos/community-staging-x86_64/PKGBUILD (from 
rev 275083, parallel-netcdf-openmpi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-20 22:01:53 UTC (rev 275084)
@@ -0,0 +1,41 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archa...@archlinux.org>
+
+_pkg=parallel-netcdf
+_mpi=openmpi
+pkgname=${_pkg}-${_mpi}
+pkgver=1.9.0
+pkgrel=1
+pkgdesc="A Parallel I/O Library for NetCDF File Access"
+arch=('x86_64')
+url="https://trac.mcs.anl.gov/projects/parallel-netcdf";
+license=('custom')
+depends=('openmpi')
+makedepends=('gcc-fortran')
+checkdepends=('inetutils')
+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=('0978ae5cdaba925e73ced2b550fc02a132b2c5ed')
+
+build() {
+    cd ${_pkg}-${pkgver}
+
+    export CPPFLAGS="${CPPFLAGS} -fPIC"
+    ./configure --prefix=/usr #--enable-shared
+    make
+}
+
+check() {
+    cd ${_pkg}-${pkgver}
+    make check
+    make ptest
+}
+
+package() {
+    cd ${_pkg}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+
+    install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}
+}

Reply via email to