void-packages/srcpkgs/krunner/template

27 lines
820 B
Bash

# Template file for 'krunner'
pkgname=krunner
version=5.81.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
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=45bdc312c28c995a9a29e8212b1299bd89350ea4cab706d343bf42813826c0f9
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"
}
}