core/netcdf/PKGBUILD

33 lines
893 B
Bash
Raw Normal View History

# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=netcdf
2016-02-27 21:04:19 +08:00
pkgver=4.4.0
2018-01-23 03:25:31 +08:00
pkgrel=2
pkgdesc="Network Common Data Form interface for array-oriented data access and corresponding library."
2012-12-05 00:40:32 +08:00
arch=("x86_64")
url="http://www.unidata.ucar.edu/downloads/netcdf/index.jsp"
depends=('gcc-libs' 'hdf5' 'gcc-fortran')
2012-12-05 00:40:32 +08:00
options=('!libtool' '!makeflags')
license=('custom')
source=(http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-${pkgver}.tar.gz)
2016-02-27 21:04:19 +08:00
sha1sums=('cb7de8f14ddeef5e66cbc688e0a127a405d580af')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
2016-02-27 21:04:19 +08:00
./configure --prefix=/usr --enable-shared --disable-netcdf-4
make
}
2016-02-27 21:04:19 +08:00
#check() {
# cd ${srcdir}/${pkgname}-${pkgver}
# make check
#}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/COPYRIGHT \
${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT
}