void-packages/srcpkgs/kColorPicker-qt5/template

26 lines
822 B
Bash

# Template file for 'kColorPicker-qt5'
pkgname=kColorPicker-qt5
version=0.3.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTS=ON -DBUILD_EXAMPLE=OFF -DBUILD_SHARED_LIBS=ON"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-devel"
short_desc="Qt based Color Picker with popup menu"
maintainer="Luciogi <lucigithubcommit@skiff.com>"
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-qt5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}