void-packages/srcpkgs/kf6-krunner/template

32 lines
906 B
Bash

# Template file for 'kf6-krunner'
pkgname=kf6-krunner
version=6.6.0
revision=1
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=17d4201be7ce712071d29e9528feafdc2be20391834a110c3584cc142c9f4b11
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"
}
}