void-packages/srcpkgs/ktextwidgets/template

27 lines
885 B
Bash

# Template file for 'ktextwidgets'
pkgname=ktextwidgets
version=5.115.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules kcoreaddons qt5-qmake qt5-host-tools
qt5-tools gettext python3"
makedepends="kcompletion-devel kiconthemes-devel kservice-devel sonnet-devel
qt5-speech-devel"
short_desc="KDE Text editing widgets"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/ktextwidgets"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=6348888c0cc0a37045337f09d71a28f2fd275dfa2258e5ed4e5342f310a39d8e
ktextwidgets-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"
}
}