1 # Maintainer: Daniel M. Capella <polyzen@archlinux.org>
6 pkgdesc="Minimal, fast alternative to 'du -sh'"
8 url=https://github.com/sharkdp/diskus
9 license=('Apache' 'MIT')
12 source=("diskus-$pkgver.tar.gz::https://static.crates.io/crates/diskus/diskus-$pkgver.crate")
13 b2sums=('870a68e2fef66377ef6fdd3b5e5344c006ff029bd18a82413e2fc9e748766b17dcde451b48cb7122b6226e3a57dc85f87105066391c881b4310332d7a1f6c179')
17 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
22 cargo build --release --locked --offline
27 cargo test --locked --offline
32 install -Dt "$pkgdir"/usr/bin target/release/diskus
33 install -Dm644 -t "$pkgdir"/usr/share/man/man1 doc/diskus.1
34 install -Dm644 -t "$pkgdir"/usr/share/licenses/diskus LICENSE-MIT