void-packages/srcpkgs/kcolorchooser/template

23 lines
651 B
Bash

# Template file for 'kcolorchooser'
pkgname=kcolorchooser
version=18.08.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 <straubem@gmx.de>"
license="MIT"
homepage="https://www.kde.org/applications/graphics/kcolorchooser"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=741cf9f7a6e59bcf2118f9eb69db7f35384d8153f886b9f2721ed46b99e9b4eb
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
post_install() {
vlicense COPYING
}