2022-01-06 16:42:06 +01:00
|
|
|
# Template file for 'btdu'
|
|
|
|
pkgname=btdu
|
2022-06-13 15:27:03 +02:00
|
|
|
version=0.4.0
|
2022-01-06 16:42:06 +01:00
|
|
|
revision=1
|
|
|
|
# druntime does not implement ioctl on musl in dmd-2.098.0
|
|
|
|
# struct packing seems to differ on i686 archs and therefore d-btrfs fails
|
|
|
|
archs=x86_64
|
|
|
|
hostmakedepends="dmd 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"
|
2022-06-13 15:27:03 +02:00
|
|
|
checksum=1377d2ee14367deed6f0b17407a0de437450a4f381819265d98c38fbc05f792f
|
2022-01-06 16:42:06 +01:00
|
|
|
nocross="dmd compilation fails on cross"
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
dub build -b release
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin btdu
|
|
|
|
vman btdu.1
|
|
|
|
}
|