mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
upgpkg: cargo-cache 0.8.1-1
upstream release. Also disable upstream's vendoring of libgit2 as Arch ships a recent enough version not to need it.
This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
pkgbase = cargo-cache
|
pkgbase = cargo-cache
|
||||||
pkgdesc = Display info and prune cargo cache
|
pkgdesc = Display info and prune cargo cache
|
||||||
pkgver = 0.8.0
|
pkgver = 0.8.1
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/matthiaskrgr/cargo-cache
|
url = https://github.com/matthiaskrgr/cargo-cache
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = MIT
|
license = MIT
|
||||||
license = Apache
|
license = Apache
|
||||||
depends = cargo
|
makedepends = cargo
|
||||||
source = cargo-cache-0.8.0.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/0.8.0.tar.gz
|
depends = libgit2
|
||||||
sha256sums = 14413740f8f57f5a040cbe9f54340ceb68942d13ae5e68e568b8d9a8a0744754
|
source = cargo-cache-0.8.1.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/0.8.1.tar.gz
|
||||||
|
sha256sums = 39ed11a8bb62ee8e3f6e53b6d39fd82eef1a03a8858d59077f1f83abe72800a9
|
||||||
|
|
||||||
pkgname = cargo-cache
|
pkgname = cargo-cache
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Contributor: Jason Nader <jason d0t nader pr0t0nmail.c0m>
|
# Contributor: Jason Nader <jason d0t nader pr0t0nmail.c0m>
|
||||||
|
|
||||||
pkgname=cargo-cache
|
pkgname=cargo-cache
|
||||||
pkgver=0.8.0
|
pkgver=0.8.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Display info and prune cargo cache"
|
pkgdesc="Display info and prune cargo cache"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -10,7 +10,16 @@ url="https://github.com/matthiaskrgr/cargo-cache"
|
|||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/$pkgver.tar.gz")
|
||||||
license=('MIT' 'Apache')
|
license=('MIT' 'Apache')
|
||||||
depends=('cargo')
|
depends=('cargo')
|
||||||
sha256sums=('14413740f8f57f5a040cbe9f54340ceb68942d13ae5e68e568b8d9a8a0744754')
|
sha256sums=('39ed11a8bb62ee8e3f6e53b6d39fd82eef1a03a8858d59077f1f83abe72800a9')
|
||||||
|
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.
|
||||||
|
sed -i "s|\[\"vendored-libgit2\"\]|\[\]|" Cargo.toml
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|||||||
Reference in New Issue
Block a user