mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-26 18:21:47 +01:00
testing/gfold: new aport
CLI tool to help keep track of Git repositories https://github.com/nickgerace/gfold
This commit is contained in:
parent
c32233cd1c
commit
f6ceaa3c63
33
testing/gfold/APKBUILD
Normal file
33
testing/gfold/APKBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# Contributor: Michał Polański <michal@polanski.me>
|
||||
# Maintainer: Michał Polański <michal@polanski.me>
|
||||
pkgname=gfold
|
||||
pkgver=4.0.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"
|
||||
source="https://github.com/nickgerace/gfold/archive/$pkgver/gfold-$pkgver.tar.gz"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo build --release --frozen
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 target/release/gfold -t "$pkgdir"/usr/bin
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
aa2f5c8218b943e0d6e997139cc39892f91ccd0d006866f8ae2367acc6e52bcb326d361f6633fe0d21d1603ef6b580dcf4a894886110194fd27b587f2a423b7b gfold-4.0.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user