summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanpi2020-11-02 14:45:51 +0100
committerSanpi2020-11-02 14:45:51 +0100
commit569c7662e4faedf97f917028a853537d6569418b (patch)
tree7dd0c468849b349b8d2659e4857091049df3b547
parent25f67fca915a25d66c726abe31c56519fbac8df0 (diff)
downloadaur-569c7662e4faedf97f917028a853537d6569418b.tar.gz
Fixes source url
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e0b9c154abe..8aeba3f9aa4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = cargo-flash
pkgdesc = A cargo extension for programming microcontrollers
pkgver = 0.8.0
- pkgrel = 1
+ pkgrel = 2
url = https://probe.rs/
arch = x86_64
license = MIT
license = Apache
depends = cargo
- source = https://probe.rs//archive/v0.8.0.tar.gz
- sha256sums = f718165acb371f0a8f1e4799ea06a08427f4784d7fdad4fb9d48b44a3fbc9cd0
+ source = 0.8.0.tar.gz::https://crates.io/api/v1/crates/cargo-flash/0.8.0/download
+ sha256sums = 32896d7a1162350b3b0dd82b83e181eb072b6e7c73dc959d98a0a573407352fb
pkgname = cargo-flash
diff --git a/PKGBUILD b/PKGBUILD
index a051b2f7f69..e49b0cdca7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Sanpi <sanpi+aur@homecomputing.fr>
pkgname=cargo-flash
pkgver=0.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="A cargo extension for programming microcontrollers"
url="https://probe.rs/"
arch=("x86_64")
license=("MIT" "Apache")
depends=("cargo")
-source=("$url/archive/v$pkgver.tar.gz")
-sha256sums=('f718165acb371f0a8f1e4799ea06a08427f4784d7fdad4fb9d48b44a3fbc9cd0')
+source=("$pkgver.tar.gz::https://crates.io/api/v1/crates/$pkgname/$pkgver/download")
+sha256sums=('32896d7a1162350b3b0dd82b83e181eb072b6e7c73dc959d98a0a573407352fb')
build()
{