[arch-commits] Commit in parallel-netcdf-openmpi/repos (2 files)
Bruno Pagani
archange at archlinux.org
Sun Jun 18 15:46:01 UTC 2017
Date: Sunday, June 18, 2017 @ 15:46:01
Author: archange
Revision: 238081
archrelease: copy trunk to community-testing-x86_64
Added:
parallel-netcdf-openmpi/repos/community-testing-x86_64/
parallel-netcdf-openmpi/repos/community-testing-x86_64/PKGBUILD
(from rev 238080, parallel-netcdf-openmpi/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: parallel-netcdf-openmpi/repos/community-testing-x86_64/PKGBUILD (from rev 238080, parallel-netcdf-openmpi/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-06-18 15:46:01 UTC (rev 238081)
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
+
+_pkg=parallel-netcdf
+_mpi=openmpi
+pkgname=${_pkg}-${_mpi}
+pkgver=1.8.1
+pkgrel=2
+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')
+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=('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