void-packages/srcpkgs/ktextaddons/template

26 lines
805 B
Bash

# Template file for 'ktextaddons'
pkgname=ktextaddons
version=1.3.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools
kcoreaddons kconfig gettext"
makedepends="kxmlgui-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=981ec78762e3ae0f03d86c43c8709ad6ce825668390c3921c1a7c4aad4aa51e3
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"
}
}