mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 16:47:02 +02:00
34 lines
867 B
Text
34 lines
867 B
Text
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
|
|
pkgname=diskonaut
|
|
pkgver=0.11.0
|
|
pkgrel=3
|
|
pkgdesc="Terminal disk space navigator"
|
|
url="https://github.com/imsnif/diskonaut"
|
|
license="MIT"
|
|
# loongarch64: nix crate fails to build
|
|
arch="all !armhf !s390x !riscv64 !loongarch64" # doesn't build
|
|
makedepends="cargo cargo-auditable"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/imsnif/diskonaut/archive/refs/tags/$pkgver.tar.gz"
|
|
options="net"
|
|
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --release --frozen
|
|
}
|
|
|
|
check() {
|
|
cargo test --frozen
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/diskonaut "$pkgdir"/usr/bin/diskonaut
|
|
}
|
|
|
|
sha512sums="
|
|
c682f40e9a0592214826beba17a8b875a80a0a258e503fbcc821548fa41b998133cf30e020abffddc4775abb37e1df267669c7e4b3114fe0c4532b9a48972768 diskonaut-0.11.0.tar.gz
|
|
"
|