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