summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Muszynski2016-09-15 22:55:48 +0200
committerMikael Muszynski2016-09-15 23:03:17 +0200
commit973917a1726e134dd436e73189c50962bdd2ed14 (patch)
tree8e387086c87875ad8c6a7ca1c902d1e8b6f7b014
parent291bf4fa9bbf6faf8939a3fd5a10f8b417daca78 (diff)
downloadaur-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--.SRCINFO6
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe2368f44129..9f17199026c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index f2efc9490bbc..4d935505feaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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(){