void-packages/srcpkgs/qdirstat/template

28 lines
806 B
Bash

# Template file for 'qdirstat'
pkgname=qdirstat
version=1.9
revision=1
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="zlib-devel qt5-devel"
short_desc="Qt-based directory statistics (KDirStat without any KDE)"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2.0-only"
homepage="https://github.com/shundhammer/qdirstat"
changelog="https://github.com/shundhammer/qdirstat/releases"
distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz"
checksum=5a9abda2dbdca3d012d1d9ce7a601abf89e2af77d677f1e5d613f53fb7ad19ff
post_install() {
vman man/qdirstat.1
}
qdirstat-cache-writer_package() {
short_desc+=" - headless scanner"
depends="perl"
pkg_install() {
vmove usr/bin/qdirstat-cache-writer
vmove usr/share/man/man1/qdirstat-cache-writer.1.gz
}
}