void-packages/srcpkgs/btdu/template

23 lines
603 B
Bash

# Template file for 'btdu'
pkgname=btdu
version=0.5.1
revision=2
hostmakedepends="ldc dub"
makedepends="zlib-devel ncurses-devel"
short_desc="Sampling disk usage profiler for btrfs"
maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
license="GPL-2.0-only"
homepage="https://github.com/CyberShadow/btdu"
distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
checksum=566269f365811f6db53280fc5476a7fcf34791396ee4e090c150af4280b35ba5
nocross="dmd compilation fails on cross"
do_build() {
dub build --compiler=ldc2 -b release
}
do_install() {
vbin btdu
vman btdu.1
}