Guest User

Untitled

a guest
Apr 8th, 2019
325
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index cf9ea39..57d57d7 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -1,6 +1,6 @@
  6. # Contributor: Graziano Giuliani <graziano.giuliani@poste.it>
  7. pkgname=eccodes
  8. -pkgver=2.10.0
  9. +pkgver=2.12.0
  10. _attnum=45757960
  11. pkgrel=1
  12. pkgdesc="ECMWF decoding library for GRIB, BUFR and GTS"
  13. @@ -11,8 +11,8 @@ depends=('openjpeg' 'libpng' 'python2' 'netcdf')
  14. optdepends=('libaec: for compression' 'jasper: as an alternative to openjpeg')
  15. makedepends=('gcc-fortran' 'python2' 'python2-numpy' 'cmake')
  16. conflicts=('grib_api' 'libbufr-ecmwf')
  17. -source=(http://software.ecmwf.int/wiki/download/attachments/${_attnum}/${pkgname}-${pkgver}-Source.tar.gz)
  18. -md5sums=('c32ba54676b2fa5e1ebd782528185cdd')
  19. +source=(https://confluence.ecmwf.int/download/attachments/${_attnum}/eccodes-${pkgver}-Source.tar.gz)
  20. +md5sums=('a812b5837901526905b020d328d8007c')
  21.  
  22. build() {
  23. cd "$srcdir"/${pkgname}-${pkgver}-Source
  24. @@ -29,6 +29,11 @@ build() {
  25. make || return 1
  26. }
  27.  
  28. +check() {
  29. + cd "$srcdir"/${pkgname}-${pkgver}-Source
  30. + ctest
  31. +}
  32. +
  33. package() {
  34. cd "$srcdir"/${pkgname}-${pkgver}-Source/build
  35. make DESTDIR="$pkgdir" install || return 1
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×