void-packages/srcpkgs/ktextwidgets/template

26 lines
877 B
Bash

# Template file for 'ktextwidgets'
pkgname=ktextwidgets
version=5.42.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=d32becae0f7f57016523eb8e4328b2d59140451c8612de7bed9cf992f6fa0a21
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
}
}