testing/strace-tui: new aport

This commit is contained in:
omni 2026-04-03 16:49:04 +00:00
parent 525556c182
commit 77afa71a77

View File

@ -0,0 +1,38 @@
# Maintainer: omni <omni+alpine@hack.org>
maintainer="omni <omni+alpine@hack.org>"
pkgname=strace-tui
pkgver=1.0.1
pkgrel=0
pkgdesc="terminal user interface for visualizing and exploring strace output"
url="https://github.com/Rodrigodd/strace-tui"
license="Apache-2.0 OR MIT"
arch="all"
makedepends="cargo cargo-auditable"
checkdepends="strace"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Rodrigodd/strace-tui/archive/refs/tags/v$pkgver.tar.gz"
prepare() {
default_prepare
cargo fetch --target="$CHOST" --locked
}
build() {
cargo auditable build --release --frozen
}
check() {
cargo test --frozen
}
package() {
install -Dm755 -t "$pkgdir"/usr/bin/ target/release/"$pkgname"
install -Dm755 -t "$pkgdir"/usr/share/doc/"$pkgname"/ README.md
install -Dm755 -t "$pkgdir"/usr/share/licenses/"$pkgname"/ \
LICENSE-APACHE LICENSE-MIT
}
sha512sums="
f01e3ea6342132080655b10fe07ca9a219548d4bfadffe520fdc6a1c23978878f83d912fca32cf52abbbeaf80ed9f286d762866bf033b6a6c19f89d12662490a strace-tui-1.0.1.tar.gz
"