[arch-commits] Commit in netcdf-cxx/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Wed May 31 13:05:31 UTC 2017
Date: Wednesday, May 31, 2017 @ 13:05:30
Author: bpiotrowski
Revision: 231557
archrelease: copy trunk to community-i686, community-x86_64
Added:
netcdf-cxx/repos/community-i686/
netcdf-cxx/repos/community-i686/PKGBUILD
(from rev 231556, netcdf-cxx/trunk/PKGBUILD)
netcdf-cxx/repos/community-x86_64/
netcdf-cxx/repos/community-x86_64/PKGBUILD
(from rev 231556, netcdf-cxx/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: netcdf-cxx/repos/community-i686/PKGBUILD (from rev 231556, netcdf-cxx/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-05-31 13:05:30 UTC (rev 231557)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=netcdf-cxx
+pkgver=4.3.0
+pkgrel=1
+pkgdesc="NetCDF c++ bindings"
+arch=("i686" "x86_64")
+url="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-cxx/index.jsp"
+depends=('gcc-libs' 'netcdf' 'curl')
+options=('!makeflags')
+license=('custom')
+source=(http://github.com/Unidata/${pkgname}4/archive/v${pkgver}.tar.gz)
+sha1sums=('c3290c514cfb414b5316a03e9cee1a48440d373c')
+
+build() {
+ cd ${srcdir}/${pkgname}4-${pkgver}
+ ./configure --prefix=/usr --enable-shared
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}4-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}4-${pkgver}
+
+ install -m755 -d ${pkgdir}/usr/lib
+ install -m755 -d ${pkgdir}/usr/share/man
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 ${srcdir}/${pkgname}4-${pkgver}/COPYRIGHT \
+ ${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT
+
+}
Copied: netcdf-cxx/repos/community-x86_64/PKGBUILD (from rev 231556, netcdf-cxx/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-05-31 13:05:30 UTC (rev 231557)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=netcdf-cxx
+pkgver=4.3.0
+pkgrel=1
+pkgdesc="NetCDF c++ bindings"
+arch=("i686" "x86_64")
+url="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-cxx/index.jsp"
+depends=('gcc-libs' 'netcdf' 'curl')
+options=('!makeflags')
+license=('custom')
+source=(http://github.com/Unidata/${pkgname}4/archive/v${pkgver}.tar.gz)
+sha1sums=('c3290c514cfb414b5316a03e9cee1a48440d373c')
+
+build() {
+ cd ${srcdir}/${pkgname}4-${pkgver}
+ ./configure --prefix=/usr --enable-shared
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}4-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}4-${pkgver}
+
+ install -m755 -d ${pkgdir}/usr/lib
+ install -m755 -d ${pkgdir}/usr/share/man
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 ${srcdir}/${pkgname}4-${pkgver}/COPYRIGHT \
+ ${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT
+
+}
More information about the arch-commits
mailing list