void-packages/srcpkgs/kcompletion/template
2019-12-14 20:39:15 +01:00

29 lines
898 B
Bash

# Template file for 'kcompletion'
pkgname=kcompletion
version=5.65.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="kconfig-devel kwidgetsaddons-devel"
short_desc="KDE Powerful completion framework"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/frameworks/kcompletion"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=bdd7201940fa47ac1b62f6fcf7a12883abed44876ff729cb430c11d3868eb8ae
if [ "CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools-devel"
fi
kcompletion-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/qt5/plugins/designer
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}