void-packages/srcpkgs/kcolorchooser/template

23 lines
648 B
Bash

# Template file for 'kcolorchooser'
pkgname=kcolorchooser
version=18.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
makedepends="qt5-devel kxmlgui-devel"
short_desc="KDE's Color Chooser"
maintainer="Michael Straube <straubem@gmx.de>"
license="MIT"
homepage="https://www.kde.org/applications/graphics/kcolorchooser"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=ee32f33950120a9c4a3ea1d5967b2cb72573c8bd56ba9c1bb79bd20ae474ea08
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
post_install() {
vlicense COPYING
}