void-packages/srcpkgs/krunner/template
2021-09-21 09:39:51 +02:00

32 lines
959 B
Bash

# Template file for 'krunner'
pkgname=krunner
version=5.86.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools
gettext qt5-qmake"
makedepends="plasma-framework-devel threadweaver-devel"
short_desc="KDE Framework for Plasma runners"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/krunner"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5161b7d62ded9299c9e08c994a1e74880445e6a84c46709961d55e51bf0ea39d
do_check() {
cd build
# They both hang somewhere, running ctest inside a dbus session
# doesn't seem to help
ctest -E 'dbusrunnertest|runnermanagersinglerunnermodetest'
}
krunner-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"
}
}