aports/testing/tabiew/APKBUILD
2024-11-25 21:31:57 +00:00

30 lines
921 B
Text

# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
pkgname=tabiew
pkgver=0.7.1
pkgrel=0
pkgdesc="A lightweight TUI application to view and query tabular data files, such as CSV, TSV, or parquet."
url="https://github.com/shshemi/tabiew"
arch="all !armhf !armv7 !riscv64 !loongarch64"
license="MIT"
makedepends="cargo cargo-auditable"
source="$pkgname-$pkgver.tar.gz::https://github.com/shshemi/tabiew/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # No test suite / unit tests
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
package() {
install -Dm755 target/release/tw -t "$pkgdir"/usr/bin/
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
1d2e81fa45c25ed1e9e7eeb8993947e1531cbac95f089798626fa05cc884f0bfca3a76894976700e206eedbf35a476004a74c3a3e79da468574e20905ada872e tabiew-0.7.1.tar.gz
"