# Template file for 'kvantum'
pkgname=kvantum
version=0.10.8
revision=1
build_style=qmake
wrksrc=${pkgname^}-${version}
build_wrksrc=${pkgname^}
hostmakedepends="qt5-tools qt5-qmake"
makedepends="qt5-devel qt5-svg-devel qt5-x11extras-devel"
short_desc="SVG-based theme engine for Qt4/Qt5, KDE and LXQt"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="GPL-3.0-or-later"
homepage="https://github.com/tsujan/Kvantum"
distfiles="https://github.com/tsujan/Kvantum/archive/V${version}.tar.gz"
checksum=a169a19a05985124a946ae638bee2729adad1544497693d911bb7d15160fd20c

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-devel qt5-svg-devel qt5-x11extras-devel"
fi

post_install() {
	vdoc doc/Theme-Config.pdf
	vdoc doc/Theme-Making.pdf
}
