void-packages/srcpkgs/ktextwidgets/template

26 lines
877 B
Bash

# Template file for 'ktextwidgets'
pkgname=ktextwidgets
version=5.37.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=257f4feac67db2501fe81909ffe04ddfd29db0191d9aa09ba957d9a5cbd116dd
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
}
}