diff --git a/srcpkgs/kcolorchooser/template b/srcpkgs/kcolorchooser/template new file mode 100644 index 00000000000..87c49731609 --- /dev/null +++ b/srcpkgs/kcolorchooser/template @@ -0,0 +1,18 @@ +# Template file for 'kcolorchooser' +pkgname=kcolorchooser +version=17.12.0 +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 " +license="GPL-2" +homepage="https://www.kde.org/applications/graphics/kcolorchooser" +distfiles="https://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz" +checksum=8b5adeb5370744073e61923c5d1c9a46337159d406d6de608f694ddc1cb0599d + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel" +fi