void-packages/srcpkgs/qdirstat/template

27 lines
747 B
Bash

# Template file for 'qdirstat'
pkgname=qdirstat
version=1.8.1
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"
distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz"
checksum=f41212ddeb7fab86bad43cf65cb7fbd044f4c08fc0b167f8e9eaa384e0c1561b
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
}
}