void-packages/srcpkgs/kcolorchooser/template

23 lines
670 B
Bash

# Template file for 'kcolorchooser'
pkgname=kcolorchooser
version=20.04.0
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://www.kde.org/applications/graphics/kcolorchooser"
distfiles="${KDE_SITE}/release-service/${version}/src/kcolorchooser-${version}.tar.xz"
checksum=d1effbbf5410e70db5849ba8d76130eacff614f4d6a0842ece36f9257ce81f29
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
post_install() {
vlicense COPYING
}