void-packages/srcpkgs/kf6-krunner/template

32 lines
906 B
Bash

# Template file for 'kf6-krunner'
pkgname=kf6-krunner
version=6.3.0
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext"
makedepends="kf6-kconfig-devel kf6-kcoreaddons-devel kf6-ki18n-devel
kf6-kitemmodels-devel"
checkdepends="dbus"
short_desc="Framework for providing different actions given a string query"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/krunner"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=6ca6fe49c9bc0d9da3395db993bfb28d5010bcbd78b0984625819d1d3631e425
do_check() {
cd build
dbus-run-session ctest
}
kf6-krunner-devel_package() {
depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}