Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/PKGBUILD b/PKGBUILD
- index cf9ea39..57d57d7 100644
- --- a/PKGBUILD
- +++ b/PKGBUILD
- @@ -1,6 +1,6 @@
- # Contributor: Graziano Giuliani <graziano.giuliani@poste.it>
- pkgname=eccodes
- -pkgver=2.10.0
- +pkgver=2.12.0
- _attnum=45757960
- pkgrel=1
- pkgdesc="ECMWF decoding library for GRIB, BUFR and GTS"
- @@ -11,8 +11,8 @@ depends=('openjpeg' 'libpng' 'python2' 'netcdf')
- optdepends=('libaec: for compression' 'jasper: as an alternative to openjpeg')
- makedepends=('gcc-fortran' 'python2' 'python2-numpy' 'cmake')
- conflicts=('grib_api' 'libbufr-ecmwf')
- -source=(http://software.ecmwf.int/wiki/download/attachments/${_attnum}/${pkgname}-${pkgver}-Source.tar.gz)
- -md5sums=('c32ba54676b2fa5e1ebd782528185cdd')
- +source=(https://confluence.ecmwf.int/download/attachments/${_attnum}/eccodes-${pkgver}-Source.tar.gz)
- +md5sums=('a812b5837901526905b020d328d8007c')
- build() {
- cd "$srcdir"/${pkgname}-${pkgver}-Source
- @@ -29,6 +29,11 @@ build() {
- make || return 1
- }
- +check() {
- + cd "$srcdir"/${pkgname}-${pkgver}-Source
- + ctest
- +}
- +
- package() {
- cd "$srcdir"/${pkgname}-${pkgver}-Source/build
- make DESTDIR="$pkgdir" install || return 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement