void-packages/srcpkgs/kcompletion/template

28 lines
882 B
Bash

# Template file for 'kcompletion'
pkgname=kcompletion
version=5.115.0
revision=1
build_style=cmake
configure_args="-DBUILD_DESIGNERPLUGIN=ON"
hostmakedepends="kcoreaddons extra-cmake-modules
qt5-host-tools qt5-qmake qt5-tools-devel"
makedepends="kconfig-devel kwidgetsaddons-devel"
short_desc="KDE Powerful completion framework"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kcompletion"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b134a5c9535589c8a1e694286cd1cddc6b9df77f2330f101dec155568f710dc7
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"
}
}