[arch-commits] Commit in netcdf-cxx/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Fri Oct 27 23:20:49 UTC 2017
Date: Friday, October 27, 2017 @ 23:20:48
Author: archange
Revision: 264626
NetCDF 4.5.0 rebuild
Also some cleaning
Modified:
netcdf-cxx/trunk/PKGBUILD
----------+
PKGBUILD | 33 ++++++++++++++++-----------------
1 file changed, 16 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-27 23:15:06 UTC (rev 264625)
+++ PKGBUILD 2017-10-27 23:20:48 UTC (rev 264626)
@@ -1,38 +1,37 @@
# $Id$
+# 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=1
+pkgrel=2
pkgdesc="NetCDF c++ bindings"
-arch=("i686" "x86_64")
+arch=('i686' 'x86_64')
url="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-cxx/index.jsp"
+license=('custom')
depends=('gcc-libs' 'netcdf' 'curl')
options=('!makeflags')
-license=('custom')
-source=(http://github.com/Unidata/${pkgname}4/archive/v${pkgver}.tar.gz)
-sha1sums=('c3290c514cfb414b5316a03e9cee1a48440d373c')
+source=(${pkgname}-${pkgver}.tar.gz::"http://github.com/Unidata/${pkgname}4/archive/v${pkgver}.tar.gz")
+sha256sums=('25da1c97d7a01bc4cee34121c32909872edd38404589c0427fefa1301743f18f')
build() {
- cd ${srcdir}/${pkgname}4-${pkgver}
- ./configure --prefix=/usr --enable-shared
- make
+ cd ${pkgname}4-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --enable-shared
+ make
}
check() {
- cd ${srcdir}/${pkgname}4-${pkgver}
- make check
+ cd ${pkgname}4-${pkgver}
+ make check
}
package() {
- cd ${srcdir}/${pkgname}4-${pkgver}
+ cd ${pkgname}4-${pkgver}
- install -m755 -d ${pkgdir}/usr/lib
- install -m755 -d ${pkgdir}/usr/share/man
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
- install -Dm644 ${srcdir}/${pkgname}4-${pkgver}/COPYRIGHT \
- ${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT
-
+ install -Dm644 COPYRIGHT -t ${pkgdir}/usr/share/licenses/${pkgname}/
}
More information about the arch-commits
mailing list