void-packages/srcpkgs/ktextaddons/template

26 lines
805 B
Bash

# Template file for 'ktextaddons'
pkgname=ktextaddons
version=1.2.0
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=88126cecc592be4c5ecc0c6641474a4ca846dd1866056ce24bada9eb5d080183
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"
}
}