void-packages/srcpkgs/kconfigwidgets/template

26 lines
925 B
Bash

# Template file for 'kconfigwidgets'
pkgname=kconfigwidgets
version=5.50.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-devel qt5-host-tools kdoctools"
makedepends="qt5-devel kauth-devel kcodecs-devel kconfig-devel kguiaddons-devel kdoctools-devel ki18n-devel kwidgetsaddons-devel"
short_desc="KDE Widgets for configuration dialogs"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/frameworks/kconfigwidgets"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f2299a4c611d645ea6e6c6de1f90031254bfe0a60681fa4302db30f1caa04a80
kconfigwidgets-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}