void-packages/srcpkgs/qdirstat/template

27 lines
718 B
Bash

# Template file for 'qdirstat'
pkgname=qdirstat
version=1.3
revision=2
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=dd5fa00e8745344de73794e5d4076dff7ec1b20ce34091264cb0091bf7e123c9
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
qdirstat-cache-writer_package() {
short_desc+=" - headless scanner"
depends="perl"
noarch=yes
pkg_install() {
vmove usr/bin/qdirstat-cache-writer
}
}