summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Li2016-08-20 14:09:10 -0700
committerRich Li2016-08-20 14:09:10 -0700
commit6d9e8a083c4dc67934434c757d04002e627ccf38 (patch)
tree72f7449bdaab504d80e8857c014626e2e3e2a5af
parent76eb87ebb2b31f3ea67fd577552f4a2329fcf9d9 (diff)
downloadaur-6d9e8a083c4dc67934434c757d04002e627ccf38.tar.gz
Set a unique name for the downloaded tarball
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4052462355ac..46d7d2714561 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -14,7 +14,7 @@ pkgbase = python2-netcdf4
depends = curl
depends = zlib
optdepends = python-netcdf4: python 3 version
- source = https://github.com/Unidata/netcdf4-python/archive/v1.2.4rel.tar.gz
+ source = python2-netcdf4-1.2.4.tar.gz::https://github.com/Unidata/netcdf4-python/archive/v1.2.4rel.tar.gz
md5sums = b79eb6c7daa7d9c5ed28df130915eb0b
pkgname = python2-netcdf4
diff --git a/PKGBUILD b/PKGBUILD
index 7177cde448e2..6cfffda7ea84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ license=('MIT')
depends=('python2-numpy' 'netcdf' 'hdf5' 'curl' 'zlib')
makedepends=('python2-setuptools' 'cython2')
optdepends=('python-netcdf4: python 3 version')
-source=(https://github.com/Unidata/netcdf4-python/archive/v${pkgver}rel.tar.gz)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Unidata/netcdf4-python/archive/v${pkgver}rel.tar.gz")
md5sums=('b79eb6c7daa7d9c5ed28df130915eb0b')
build() {