void-packages/srcpkgs/kcompletion/template

29 lines
870 B
Bash

# Template file for 'kcompletion'
pkgname=kcompletion
version=5.42.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules"
makedepends="kconfig-devel kwidgetsaddons-devel"
short_desc="KDE Powerful completion framework"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kcompletion"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0e448a1a05436988a836ec0f533c8cb71e955251ec0d4b7e0dbbcc06b6880c7b
if [ -n "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/cmake
vmove usr/lib/*.so
}
}