mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 02:54:23 +02:00
26 lines
790 B
Text
26 lines
790 B
Text
# Contributor: guddaff <guddaff@protonmail.com>
|
|
# Maintainer: guddaff <guddaff@protonmail.com>
|
|
pkgname=diskus
|
|
pkgver=0.8.0
|
|
pkgrel=0
|
|
pkgdesc="fast alternative for du"
|
|
url="https://github.com/sharkdp/diskus"
|
|
arch="all !riscv64" # the `libc` crate fails
|
|
options="!check" #size_of_single_file test timout on armhf
|
|
license="MIT"
|
|
makedepends="cargo cargo-auditable"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/diskus/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
|
|
build() {
|
|
cargo auditable build --release --locked
|
|
}
|
|
|
|
package() {
|
|
cargo auditable install --locked --path . --root="$pkgdir/usr"
|
|
rm "$pkgdir"/usr/.crates*
|
|
}
|
|
|
|
sha512sums="
|
|
58df66c09efcd21416e05f37f8b0cd22c46e615bc29a7daa2e119e34250a487e86947e819c0fa6f564a85509291c0dca656959757a39580e98dbb7cdd15d5c07 diskus-0.8.0.tar.gz
|
|
"
|