mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-28 03:51:35 +01:00
26 lines
763 B
Plaintext
26 lines
763 B
Plaintext
# Contributor: guddaff <guddaff@protonmail.com>
|
|
# Maintainer: guddaff <guddaff@protonmail.com>
|
|
pkgname=diskus
|
|
pkgver=0.6.0
|
|
pkgrel=0
|
|
pkgdesc="fast alternative for du"
|
|
url="https://github.com/sharkdp/diskus"
|
|
arch="all !s390x !mips !mips64 !riscv64" # limited by cargo
|
|
options="!check" #size_of_single_file test timout on armhf
|
|
license="MIT"
|
|
makedepends="cargo"
|
|
source="$pkgname-$pkgdir.tar.gz::https://github.com/sharkdp/diskus/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cargo build --release --locked
|
|
}
|
|
|
|
package() {
|
|
cargo install --locked --path . --root="$pkgdir/usr"
|
|
rm "$pkgdir"/usr/.crates*
|
|
}
|
|
|
|
sha512sums="
|
|
c0f0462b12f081f185edae7b7b09bade3c48eaf56f4ae7ebea2753282f6eb06bbea153db964ab3ebc5f0286b424705e2359116cb6512ed3fb25b1278d1a25c5f diskus-.tar.gz
|
|
"
|