void-packages/srcpkgs/btdu/template

26 lines
760 B
Bash

# Template file for 'btdu'
pkgname=btdu
version=0.5.0
revision=1
# fails to build on musl due to different argument types for ioctl
# struct packing seems to differ on i686 archs and therefore d-btrfs fails
archs="x86_64"
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=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
nocross="dmd compilation fails on cross"
do_build() {
dub build --compiler=ldc2 -b release
}
do_install() {
vbin btdu
vman btdu.1
}