void-packages/srcpkgs/qdirstat/template

27 lines
718 B
Bash
Raw Normal View History

2017-02-11 13:07:36 +00:00
# Template file for 'qdirstat'
pkgname=qdirstat
2017-06-05 18:20:08 +00:00
version=1.4
revision=1
2017-02-11 13:07:36 +00:00
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"
2017-06-05 18:20:08 +00:00
checksum=7f9a0a7304c55ebfad1e50c7747ba762b07068f48304b3d3919bdb65ee037999
2017-02-11 13:07:36 +00:00
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
}
}