void-packages/srcpkgs/kColorPicker/template

26 lines
818 B
Bash

# Template file for 'kColorPicker'
pkgname=kColorPicker
version=0.3.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTS=ON -DBUILD_EXAMPLE=OFF -DBUILD_SHARED_LIBS=ON
-DBUILD_WITH_QT6=ON"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools"
makedepends="qt6-base-devel"
short_desc="Qt based Color Picker with popup menu"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://github.com/DamirPorobic/kColorPicker"
distfiles="https://github.com/DamirPorobic/kColorPicker/archive/v${version}.tar.gz"
checksum=e78c785ec4a8a22a48a91835c97601f5704b5076b154415353b0d2697dc0b4f7
kColorPicker-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}