void-packages/srcpkgs/kcolorchooser/template

23 lines
677 B
Bash

# Template file for 'kcolorchooser'
pkgname=kcolorchooser
version=20.04.3
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kcoreaddons gettext"
makedepends="qt5-devel kxmlgui-devel"
short_desc="KDE's Color Chooser"
maintainer="travankor <travankor@tuta.io>"
license="MIT"
homepage="https://kde.org/applications/en/graphics/org.kde.kcolorchooser"
distfiles="${KDE_SITE}/release-service/${version}/src/kcolorchooser-${version}.tar.xz"
checksum=276cee46f92eeb5b47ec09366498b117c657fb2e618fc9fe34c797d4384549fd
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
post_install() {
vlicense COPYING
}