void-packages/srcpkgs/kcolorchooser/template

23 lines
651 B
Bash

# Template file for 'kcolorchooser'
pkgname=kcolorchooser
version=18.04.3
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=dbe6b9266940b117bc36094ab3e4ab77d0db79d2c9e9f616ead5b55ffcd38fc6
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
post_install() {
vlicense COPYING
}