summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Malaco2021-02-26 10:17:28 -0300
committerJonas Malaco2021-02-26 10:17:28 -0300
commit9aab53da08e425ff1798b0f564e8d676875d10fc (patch)
tree856522a391aca1fa851c3d607d0b59f87d173183
parentf5412d0367fef439faa0ebd32e01671bb55cac8e (diff)
downloadaur-9aab53da08e425ff1798b0f564e8d676875d10fc.tar.gz
Update source for now available tarball from GitHub
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 4 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 511b234487fe..e38487af01ff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cargo-criterion
pkgdesc = Cargo plugin for analyzing and reporting on Criterion-rs benchmarks.
pkgver = 1.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/bheisler/cargo-criterion
arch = any
license = Apache
@@ -9,7 +9,7 @@ pkgbase = cargo-criterion
depends = cargo
depends = rust
optdepends = gnuplot: generate detailed graphs with gnuplot
- source = cargo-criterion-1.0.1.tar.gz::https://crates.io/api/v1/crates/cargo-criterion/1.0.1/download
+ source = cargo-criterion-1.0.1.tar.gz::https://github.com/bheisler/cargo-criterion/archive/1.0.1.tar.gz
sha256sums = 6c0ae64be9d0d1ad733cd6d2c2776d93c18ba771ffad8a134dfe592c62babd26
pkgname = cargo-criterion
diff --git a/PKGBUILD b/PKGBUILD
index c98d4987b65f..a847ba416629 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,14 @@
# Maintainer: Jonas Malaco <jonas@protocubo.io>
pkgname=cargo-criterion
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc='Cargo plugin for analyzing and reporting on Criterion-rs benchmarks.'
arch=('any')
url='https://github.com/bheisler/cargo-criterion'
license=('Apache' 'MIT')
depends=('cargo' 'rust')
optdepends=('gnuplot: generate detailed graphs with gnuplot')
-# source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-
-# Exceptionally fetch crate from crates.io because the repository is missing
-# the 1.0.1 tag; the crate was manually compared against the code in the
-# repository (at commit df292d5e6170) and, while the do NOT match, the
-# differences are only in metadata like bumping the version number and updating
-# the changelog; 1.0.1 also includes a relevant fix that, in my experience,
-# made 1.0.0 unsuable.
-source=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/cargo-criterion/1.0.1/download")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('6c0ae64be9d0d1ad733cd6d2c2776d93c18ba771ffad8a134dfe592c62babd26')
build() {