void-packages/srcpkgs/qdirstat/template
2019-08-12 23:32:12 +02:00

26 lines
720 B
Bash

# Template file for 'qdirstat'
pkgname=qdirstat
version=1.6
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=9d3eb8bb969ea0177104ab021068c911f2e7b4f93880ea4ee1774c57ae11e4d6
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
}
}