diff options
author | Raphael Nestler | 2023-10-19 10:17:39 +0200 |
---|---|---|
committer | Raphael Nestler | 2023-10-19 10:17:39 +0200 |
commit | 691f353e6a38b5bf96d03b7770428390ca6ee142 (patch) | |
tree | 5b2ffc7cd36c76cfb6fdc1908b85f7115c668d60 | |
parent | c7371a5e5ba605bdba55a9286d8e3170309f1bb8 (diff) | |
download | aur-691f353e6a38b5bf96d03b7770428390ca6ee142.tar.gz |
Use crates.io as source
crates.io provides more guarantees regarding immutability of the tar
balls.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -11,7 +11,7 @@ pkgbase = reboot-arch-btw depends = dbus depends = pacman>6 replaces = kernel-updated - source = https://github.com/rnestler/reboot-arch-btw/archive/v0.5.6.tar.gz - sha256sums = 13ccd393a418cc310197cca32848725bfe8f3bf552a7fffd48d192fd7106e95f + source = reboot-arch-btw-0.5.6.tar.gz::https://static.crates.io/crates/reboot-arch-btw/reboot-arch-btw-0.5.6.crate + sha256sums = 552e6eab56946ace212de447eb82ef9c3c4e4c19e65b6f210aa6cc67411105a6 pkgname = reboot-arch-btw @@ -10,8 +10,8 @@ license=('GPL3') makedepends=('rust' 'cargo') depends=('dbus' 'pacman>6') replaces=('kernel-updated') -source=("https://github.com/rnestler/reboot-arch-btw/archive/v${pkgver}.tar.gz") -sha256sums=('13ccd393a418cc310197cca32848725bfe8f3bf552a7fffd48d192fd7106e95f') +source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate") +sha256sums=('552e6eab56946ace212de447eb82ef9c3c4e4c19e65b6f210aa6cc67411105a6') build() { cd "$srcdir/$pkgname-$pkgver" |