29 lines
849 B
Bash
29 lines
849 B
Bash
# Template file for 'kcompletion'
|
|
pkgname=kcompletion
|
|
version=5.53.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="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=c9f5c73178ee76308d0b9e5eef3d1338dcb8b4fab64aff0b278e3e24d405ae01
|
|
|
|
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/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|