1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 12:40:30 +01:00

upgpkg: cargo-cache 0.8.2-1

upstream release
This commit is contained in:
2022-02-09 22:19:09 +01:00
parent d60c475025
commit ae5c8b18f2
2 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
pkgbase = cargo-cache
pkgdesc = Display info and prune cargo cache
pkgver = 0.8.1
pkgver = 0.8.2
pkgrel = 1
url = https://github.com/matthiaskrgr/cargo-cache
arch = x86_64
@@ -8,7 +8,7 @@ pkgbase = cargo-cache
license = Apache
makedepends = cargo
depends = libgit2
source = cargo-cache-0.8.1.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/0.8.1.tar.gz
sha256sums = 39ed11a8bb62ee8e3f6e53b6d39fd82eef1a03a8858d59077f1f83abe72800a9
source = cargo-cache-0.8.2.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/0.8.2.tar.gz
sha256sums = 49af88116cd3fc395cd319f055aa690d867f15178267c3ac7257f3b09f44214e
pkgname = cargo-cache

View File

@@ -2,7 +2,7 @@
# Contributor: Jason Nader <jason d0t nader pr0t0nmail.c0m>
pkgname=cargo-cache
pkgver=0.8.1
pkgver=0.8.2
pkgrel=1
pkgdesc="Display info and prune cargo cache"
arch=('x86_64')
@@ -10,15 +10,15 @@ url="https://github.com/matthiaskrgr/cargo-cache"
source=("$pkgname-$pkgver.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/$pkgver.tar.gz")
license=('MIT' 'Apache')
depends=('cargo')
sha256sums=('39ed11a8bb62ee8e3f6e53b6d39fd82eef1a03a8858d59077f1f83abe72800a9')
sha256sums=('49af88116cd3fc395cd319f055aa690d867f15178267c3ac7257f3b09f44214e')
depends=('libgit2')
makedepends=('cargo')
prepare() {
cd "$pkgname-$pkgver"
# Upstream vendors libgit2 because they depend on a "recent" version but Arch already ships
# that version. Let's undo the vendoring.
# Upstream tried to make libgit vendoring optional but it doesn't work. Manually implement it anyway.
sed -i "s|\[\"vendored-libgit2\"\]|\[\]|" Cargo.toml
sed -i "s|, \"vendored-libgit\"||" Cargo.toml
}
build() {