void-packages/srcpkgs/kcompletion/template

29 lines
870 B
Bash
Raw Normal View History

2016-10-13 12:07:36 +02:00
# Template file for 'kcompletion'
pkgname=kcompletion
2016-12-07 00:22:33 +01:00
version=5.29.0
2017-01-28 03:47:14 +01:00
revision=2
2016-10-13 12:07:36 +02:00
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"
2016-12-07 00:22:33 +01:00
checksum=6b1acf683de6d4b3ec36f7ddc270cd639268d25bb53217c83c9088a55f695ec0
2016-10-13 12:07:36 +02:00
2017-01-28 03:47:14 +01:00
if [ -n "CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools-devel"
fi
2016-10-13 12:07:36 +02:00
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
}
}