void-packages/srcpkgs/ktextwidgets/template
2020-06-15 12:15:56 +02:00

26 lines
912 B
Bash

# Template file for 'ktextwidgets'
pkgname=ktextwidgets
version=5.71.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules kcoreaddons qt5-qmake qt5-host-tools
qt5-tools gettext python3"
makedepends="kcompletion-devel kiconthemes-devel kservice-devel sonnet-devel"
short_desc="KDE Text editing widgets"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/ktextwidgets"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0a7fae03d8b59ec8a4f7c49a228536ea4121bd3d8f19fb1ff9831ada428509f4
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"
}
}