mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/openapi-tui: new aport
This commit is contained in:
parent
4cf87b1898
commit
b4215facf5
34
testing/openapi-tui/APKBUILD
Normal file
34
testing/openapi-tui/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
|
||||
pkgname=openapi-tui
|
||||
pkgver=0.9.4
|
||||
pkgrel=0
|
||||
pkgdesc="Terminal UI to list, browse and run APIs defined with openapi spec"
|
||||
url="https://github.com/zaghaghi/openapi-tui"
|
||||
# rust-ring
|
||||
# loongarch64: blocked by libc crate
|
||||
# armf: doesn't build
|
||||
arch="all !s390x !ppc64le !riscv64 !armhf !loongarch64"
|
||||
license="MIT"
|
||||
makedepends="cargo cargo-auditable perl"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/zaghaghi/openapi-tui/archive/refs/tags/$pkgver.tar.gz"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --release
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 target/release/openapi-tui -t "$pkgdir"/usr/bin
|
||||
}
|
||||
sha512sums="
|
||||
0033275841cd6e086d5b30fc02a09e4602fd2929c816297f7274e77244254d96fa2eb169ac89c48629c82f1efe21ab56e298dbccb97d331445369cedf9c9335f openapi-tui-0.9.4.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user