# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=cargo-release pkgver=0.24.11 pkgrel=0 pkgdesc="Everything about releasing a rust crate" url="https://github.com/crate-ci/cargo-release" license="MIT OR Apache-2.0" arch="all" makedepends="cargo libgit2-1.5-dev openssl-dev cargo-auditable" source="https://github.com/crate-ci/cargo-release/archive/v$pkgver/cargo-release-$pkgver.tar.gz" options="net" # fetch dependencies prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo auditable build --frozen --release --no-default-features } check() { cargo test --frozen --no-default-features } package() { install -Dm755 target/release/$pkgname -t "$pkgdir"/usr/bin/ } sha512sums=" cf55aac6b3470e3ee27cd7f72c60ef8d5b1af67fcf4257227b963eff8a566cd899204792b197f912cc396b5689d0eae4e9ea34cacefbcb1d2054b0df849457d3 cargo-release-0.24.11.tar.gz "