void-packages/srcpkgs/kf6-krunner/template

32 lines
894 B
Bash

# Template file for 'kf6-krunner'
pkgname=kf6-krunner
version=6.1.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=faa21f990d9886659ed44c753ccf8d77ceb07df94e84c01893f93b08e06760d4
do_check() {
cd build
dbus-run-session ctest
}
kf6-krunner-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}