diff --git a/srcpkgs/dutree/template b/srcpkgs/dutree/template new file mode 100644 index 0000000000..0aa3428a7c --- /dev/null +++ b/srcpkgs/dutree/template @@ -0,0 +1,22 @@ +# Template file for 'dutree' +pkgname=dutree +version=0.2.8 +revision=1 +hostmakedepends="cargo" +short_desc="Tool to analyze file system usage written in Rust" +maintainer="cr6git " +license="GPL-3.0-or-later" +homepage="https://github.com/nachoparker/dutree" +distfiles="https://github.com/nachoparker/dutree/archive/v${version}.tar.gz" +checksum=e262b6a26447ed759d80c5130ec9205b9b1cd2d1df6970b5bee0a113bce6f81c + +nocross="https://travis-ci.org/void-linux/void-packages/jobs/400535389#L905 + https://travis-ci.org/void-linux/void-packages/jobs/400535390#L905" + +do_build() { + cargo build --release +} + +do_install() { + vbin target/release/dutree +}