# Template file for 'dutree'
pkgname=dutree
version=0.2.17
revision=1
build_style=cargo
short_desc="Tool to analyze file system usage written in Rust"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/nachoparker/dutree"
distfiles="https://github.com/nachoparker/dutree/archive/v${version}.tar.gz"
checksum=c88f2328c4e6cf96a0222efbe2a5c6d2de8cd0de0ebf01deb1f5fe81b5f8518e

pre_build() {
	# default version too old for ppc musl systems
	cargo update --package libc --precise 0.2.66
}
