mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
upgpkg: cargo-cache 0.8.3-2
Fix license and formatting
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
pkgbase = cargo-cache
|
pkgbase = cargo-cache
|
||||||
pkgdesc = Display info and prune cargo cache
|
pkgdesc = Display info and prune cargo cache
|
||||||
pkgver = 0.8.3
|
pkgver = 0.8.3
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
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-2.0
|
||||||
makedepends = cargo
|
makedepends = cargo
|
||||||
depends = libgit2
|
depends = libgit2
|
||||||
source = cargo-cache-0.8.3.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/0.8.3.tar.gz
|
source = cargo-cache-0.8.3.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/0.8.3.tar.gz
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
|
|
||||||
pkgname=cargo-cache
|
pkgname=cargo-cache
|
||||||
pkgver=0.8.3
|
pkgver=0.8.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Display info and prune cargo cache"
|
pkgdesc="Display info and prune cargo cache"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/matthiaskrgr/cargo-cache"
|
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-2.0')
|
||||||
depends=('cargo')
|
depends=('cargo')
|
||||||
sha256sums=('d0f71214d17657a27e26aef6acf491bc9e760432a9bc15f2571338fcc24800e4')
|
sha256sums=('d0f71214d17657a27e26aef6acf491bc9e760432a9bc15f2571338fcc24800e4')
|
||||||
depends=('libgit2')
|
depends=('libgit2')
|
||||||
@@ -22,12 +22,12 @@ prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
cargo build --release --locked
|
cargo build --release --locked
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
install -Dm755 "target/release/cargo-cache" "$pkgdir/usr/bin/cargo-cache"
|
install -Dm755 "target/release/cargo-cache" "$pkgdir/usr/bin/cargo-cache"
|
||||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE-MIT
|
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE-MIT
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user