[arch-commits] Commit in netcdf-cxx/repos (2 files)
Bruno Pagani
archange at archlinux.org
Sun Mar 17 12:14:50 UTC 2019
Date: Sunday, March 17, 2019 @ 12:14:50
Author: archange
Revision: 442361
archrelease: copy trunk to community-staging-x86_64
Added:
netcdf-cxx/repos/community-staging-x86_64/
netcdf-cxx/repos/community-staging-x86_64/PKGBUILD
(from rev 442360, netcdf-cxx/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: netcdf-cxx/repos/community-staging-x86_64/PKGBUILD (from rev 442360, netcdf-cxx/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-03-17 12:14:50 UTC (rev 442361)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=netcdf-cxx
+pkgver=4.3.0
+pkgrel=3
+pkgdesc="NetCDF c++ bindings"
+arch=('x86_64')
+url="https://github.com/Unidata/netcdf-cxx4/"
+license=('custom')
+depends=('gcc-libs' 'netcdf' 'curl')
+options=('!makeflags')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('25da1c97d7a01bc4cee34121c32909872edd38404589c0427fefa1301743f18f')
+
+build() {
+ cd ${pkgname}4-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --enable-shared \
+ --enable-extra-tests \
+ --enable-large-file-tests
+ make
+}
+
+check() {
+ cd ${pkgname}4-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}4-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYRIGHT -t ${pkgdir}/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list