# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=gfold pkgver=4.4.0 pkgrel=0 pkgdesc="CLI tool to help keep track of Git repositories" url="https://github.com/nickgerace/gfold" license="Apache-2.0" arch="all !s390x !riscv64" # blocked by rust/cargo makedepends="cargo cargo-auditable" source="https://github.com/nickgerace/gfold/archive/$pkgver/gfold-$pkgver.tar.gz" prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo auditable build --release --frozen } check() { git init # needed for the integration test cargo test --frozen --workspace } package() { install -Dm755 target/release/$pkgname -t "$pkgdir"/usr/bin/ } sha512sums=" 1bef17c4806fbdeed8c314437760dd0f24cf383aaeb02c5eba9b8f3103e0e9b0ff7e3aa87b53144bd14402bbd3a54e9927e79db1cf23a23cc398314a8134b8c5 gfold-4.4.0.tar.gz "