summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEm Zhan2021-02-24 17:03:40 -0500
committerEm Zhan2021-02-24 18:27:24 -0500
commit13289bd259f21337f6bb14fc06b0d949cd6cabf3 (patch)
treefbcfe50d986b54c8195307fa2295308458b4b23c
parent5e3fc263f1fd5624030f91bdb003bce54e68526a (diff)
downloadaur-13289bd259f21337f6bb14fc06b0d949cd6cabf3.tar.gz
Bump version
No longer needs patched makefile but now needs a workaround for hard links in tarball causing nonzero exit code from bsdtar
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ede381ab8ae..c7979017b1c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = wgrib2
pkgdesc = Utility to read and write grib2 files
- pkgver = 3.0.0
+ pkgver = 3.0.1
pkgrel = 1
url = https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/
arch = x86_64
@@ -8,10 +8,9 @@ pkgbase = wgrib2
license = custom
makedepends = gcc-fortran
depends = gcc-libs
- source = https://www.ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz.v3.0.0
- source = https://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/makefile_v2_for_wgrib2_v3.0.0
- md5sums = 83f1b3f68c26a97c50af137b92804d95
- md5sums = 11bf2c1f8669aaf8123ad5f928d14d33
+ noextract = wgrib2.tgz.v3.0.1
+ source = https://www.ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz.v3.0.1
+ md5sums = 8d73b994c435f2ac6b1396c037b86836
pkgname = wgrib2
diff --git a/PKGBUILD b/PKGBUILD
index ac3b7d9af25..9fad12a47d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Graziano Giuliani <giuliani@lamma.rete.toscana.it>
pkgname=wgrib2
-pkgver=3.0.0
+pkgver=3.0.1
pkgrel=1
pkgdesc="Utility to read and write grib2 files"
arch=('x86_64')
@@ -11,13 +11,13 @@ url="https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/"
license=('GPL' 'custom')
depends=('gcc-libs')
makedepends=('gcc-fortran')
-source=("https://www.ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/$pkgname.tgz.v$pkgver"
- "https://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/makefile_v2_for_wgrib2_v$pkgver")
-md5sums=('83f1b3f68c26a97c50af137b92804d95'
- '11bf2c1f8669aaf8123ad5f928d14d33')
+source=("https://www.ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/$pkgname.tgz.v$pkgver")
+noextract=("$pkgname.tgz.v$pkgver")
+md5sums=('8d73b994c435f2ac6b1396c037b86836')
prepare() {
- cp "makefile_v2_for_wgrib2_v$pkgver" grib2/makefile
+ # workaround bsdtar nonzero exit code: https://bugs.archlinux.org/task/44701
+ tar -xf "$pkgname.tgz.v$pkgver"
}
build() {