void-packages/srcpkgs/qdirstat/template
2020-02-15 09:19:11 +01:00

26 lines
722 B
Bash

# Template file for 'qdirstat'
pkgname=qdirstat
version=1.6.1
revision=1
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="zlib-devel qt5-devel"
short_desc="Qt-based directory statistics (KDirStat without any KDE)"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2"
homepage="https://github.com/shundhammer/qdirstat"
distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz"
checksum=8cc12a054930a29dc3b1480e4fa63597ddffeac8841cf7804230410f96b6cf3b
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
qdirstat-cache-writer_package() {
short_desc+=" - headless scanner"
depends="perl"
archs=noarch
pkg_install() {
vmove usr/bin/qdirstat-cache-writer
}
}