void-packages/srcpkgs/ktextwidgets/template

26 lines
877 B
Bash

# Template file for 'ktextwidgets'
pkgname=ktextwidgets
version=5.43.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools qt5-tools python"
makedepends="kcompletion-devel kiconthemes-devel kservice-devel sonnet-devel"
short_desc="KDE Text editing widgets"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/ktextwidgets"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=fe21e79b4882726a51c3c42f46dc379a940cb2b5a75ad8c51533d6a482ebab40
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
}
}