30 lines
789 B
Bash
30 lines
789 B
Bash
# Template file for 'qdirstat'
|
|
pkgname=qdirstat
|
|
version=1.7
|
|
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.0-only"
|
|
homepage="https://github.com/shundhammer/qdirstat"
|
|
distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz"
|
|
checksum=9a8ec22a19290794147f727bca27deb7e02b4d9c537deb2fd0d3e647621f8c4a
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
vman man/qdirstat.1
|
|
}
|
|
|
|
qdirstat-cache-writer_package() {
|
|
short_desc+=" - headless scanner"
|
|
depends="perl"
|
|
pkg_install() {
|
|
vmove usr/bin/qdirstat-cache-writer
|
|
vman man/qdirstat-cache-writer.1
|
|
}
|
|
}
|