void-packages/srcpkgs/krunner/template
2018-02-22 01:32:38 +01:00

29 lines
885 B
Bash

# Template file for 'krunner'
pkgname=krunner
version=5.43.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
makedepends="plasma-framework-devel threadweaver-devel"
short_desc="KDE Framework for Plasma runners"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/krunner"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=bc9d3f6060f92f62bdee3dfc06bdfa13defa0c674773effb039a0ac6cf572af2
if [ -n "$CROSS_BUILD" ]; then
broken="plasma-framework cross build is broken"
fi
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
}
}