dutree: use cargo buildstyle

This commit is contained in:
Rasmus Thomsen 2018-10-02 01:02:59 +02:00 committed by Enno Boland
parent c6a80671e3
commit e7021342e2
1 changed files with 2 additions and 13 deletions

View File

@ -1,22 +1,11 @@
# Template file for 'dutree'
pkgname=dutree
version=0.2.9
revision=1
hostmakedepends="cargo"
revision=2
build_style=cargo
short_desc="Tool to analyze file system usage written in Rust"
maintainer="cr6git <quark6@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/nachoparker/dutree"
distfiles="https://github.com/nachoparker/dutree/archive/v${version}.tar.gz"
checksum=38e621e813b6d3ee37bf765ac68b98e77bdf7fc58b8b788d54153bd929c1fda1
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 ${makejobs}
}
do_install() {
vbin target/release/dutree
}