diff options
author | Mikael Muszynski | 2016-09-15 22:55:48 +0200 |
---|---|---|
committer | Mikael Muszynski | 2016-09-15 23:03:17 +0200 |
commit | 973917a1726e134dd436e73189c50962bdd2ed14 (patch) | |
tree | 8e387086c87875ad8c6a7ca1c902d1e8b6f7b014 | |
parent | 291bf4fa9bbf6faf8939a3fd5a10f8b417daca78 (diff) | |
download | aur-973917a1726e134dd436e73189c50962bdd2ed14.tar.gz |
Add version in names of cached tarballs
Since the exercism tarballs don't have a version number in their names,
if makepkg finds an old tarball in the build directory or in the cache
it will complain about the tarball's integrity.
Make makepkg download tarballs with a versioned name to prevent this.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 6 insertions, 4 deletions
@@ -1,3 +1,5 @@ +# Generated by mksrcinfo v8 +# Thu Sep 15 21:02:30 UTC 2016 pkgbase = exercism-cli pkgdesc = Command line client for exercism.io pkgver = v2.3.0 @@ -8,9 +10,9 @@ pkgbase = exercism-cli license = MIT source = https://raw.githubusercontent.com/exercism/cli/v2.3.0/LICENSE md5sums = f92fe05e2b91655399f2a8b9d24bfe41 - source_i686 = https://github.com/exercism/cli/releases/download/v2.3.0/exercism-linux-32bit.tgz + source_i686 = exercism-linux-32bit-v2.3.0.tgz::https://github.com/exercism/cli/releases/download/v2.3.0/exercism-linux-32bit.tgz md5sums_i686 = d4d64955db514847640503fc8217a602 - source_x86_64 = https://github.com/exercism/cli/releases/download/v2.3.0/exercism-linux-64bit.tgz + source_x86_64 = exercism-linux-64bit-v2.3.0.tgz::https://github.com/exercism/cli/releases/download/v2.3.0/exercism-linux-64bit.tgz md5sums_x86_64 = 6dd3e655971c84d48046fe2f7e80ec22 pkgname = exercism-cli @@ -9,9 +9,9 @@ url="https://github.com/exercism/cli" license=("MIT") source=("https://raw.githubusercontent.com/exercism/cli/$pkgver/LICENSE") md5sums=('f92fe05e2b91655399f2a8b9d24bfe41') -source_i686=("https://github.com/exercism/cli/releases/download/$pkgver/exercism-linux-32bit.tgz") +source_i686=(exercism-linux-32bit-$pkgver.tgz::"https://github.com/exercism/cli/releases/download/$pkgver/exercism-linux-32bit.tgz") md5sums_i686=('d4d64955db514847640503fc8217a602') -source_x86_64=("https://github.com/exercism/cli/releases/download/$pkgver/exercism-linux-64bit.tgz") +source_x86_64=(exercism-linux-64bit-$pkgver.tgz::"https://github.com/exercism/cli/releases/download/$pkgver/exercism-linux-64bit.tgz") md5sums_x86_64=('6dd3e655971c84d48046fe2f7e80ec22') package(){ |