mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 17:52:10 +01:00
these are fixed since 6369666f904d8965cbefa2315a54b4aac54fc359 any remaining cases are most likely 'real textrels', i.e. broken binaries that won't run, and need more investigation
36 lines
862 B
Plaintext
36 lines
862 B
Plaintext
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=dua
|
|
pkgver=2.20.1
|
|
pkgrel=1
|
|
pkgdesc="Tool to conveniently learn about the usage of disk space"
|
|
url="https://github.com/Byron/dua-cli"
|
|
license="MIT"
|
|
arch="all"
|
|
makedepends="cargo cargo-auditable"
|
|
source="https://github.com/Byron/dua-cli/archive/v$pkgver/dua-$pkgver.tar.gz"
|
|
builddir="$srcdir/dua-cli-$pkgver"
|
|
options="net" # fetch dependencies
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --frozen --release
|
|
}
|
|
|
|
check() {
|
|
cargo test --frozen
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/$pkgname -t "$pkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
23863d95017b4d1f4e1754a450e87b34708e3286ab8f38e248fb8a3f4fd019cfa45cb62b0ca8b77d4af31a53666bae750f4f693a7e120b6281b86fdc2f2d20ef dua-2.20.1.tar.gz
|
|
"
|