void-packages/srcpkgs/kcolorchooser/template

23 lines
644 B
Bash

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