void-packages/srcpkgs/kcolorchooser/template

23 lines
644 B
Bash

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