Commit a0785eb0 authored by kpcyrd's avatar kpcyrd Committed by Leo
Browse files

community/cargo-audit: upgrade to 0.16.0

parent 7a5d1977
Pipeline #99978 passed with stages
in 2 minutes and 17 seconds
# Contributor: kpcyrd <git@rxv.cc>
# Maintainer: kpcyrd <git@rxv.cc>
pkgname=cargo-audit
pkgver=0.15.2
pkgrel=1
pkgver=0.16.0
pkgrel=0
pkgdesc="Audit Cargo.lock for crates with security vulnerabilities"
url="https://github.com/RustSec/cargo-audit"
url="https://github.com/RustSec/rustsec"
# mips64, s390x and riscv64 blocked by cargo
arch="all !mips64 !s390x !riscv64"
license="MIT OR Apache-2.0"
makedepends="cargo openssl1.1-compat-dev"
subpackages="$pkgname-doc"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/RustSec/cargo-audit/archive/cargo-audit/v$pkgver.tar.gz"
builddir="$srcdir/rustsec-$pkgname-v$pkgver/$pkgname"
......@@ -28,14 +29,10 @@ check() {
}
package() {
cargo install --locked --root "$pkgdir/usr" --path .
install -Dm 755 ../target/release/cargo-audit -t "$pkgdir/usr/bin"
install -Dm 644 -t "$pkgdir/usr/share/doc/cargo-audit" README.md
rm "$pkgdir"/usr/.crates.toml
rm "$pkgdir"/usr/.crates2.json
}
sha512sums="
0ffb4ee0cac64cfef7a5cdbb62f1eee226a4644990e03414895c6d8f9ca17c9b34f098e1da755a724d4547c41782fa4d37c82e7ee0c943d9c3027e1c192036cd cargo-audit-0.15.2.tar.gz
cc04c86224cd3120abc97b26ac31471cf69550fc9272eb5fb7022703b22a1b7af582d7bb974aeb359605abd363a9d5c7cab684ac304ad636058a546dc85890d7 cargo-audit-0.16.0.tar.gz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment