void-packages/srcpkgs/ktextaddons/template

27 lines
842 B
Bash

# Template file for 'ktextaddons'
pkgname=ktextaddons
version=1.5.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools
kcoreaddons kconfig gettext"
makedepends="kxmlgui-devel syntax-highlighting-devel kio-devel
qtkeychain-qt5-devel qt5-speech-devel"
short_desc="Various text handling addon"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later, GPL-2.0-or-later"
homepage="https://invent.kde.org/libraries/ktextaddons"
distfiles="${KDE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=288bbb1cefb1e8b570a383c792eba5fca291c46dd0155dbc2531f0a36684a7db
ktextaddons-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}