Commit d037b549 authored by guddaff's avatar guddaff Committed by Leo
Browse files

testing/diskus: new aport

parent c4dc2ade
Pipeline #85995 passed with stages
in 1 minute and 14 seconds
# 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" # 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
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment