void-packages/srcpkgs/kpimtextedit/template

31 lines
1023 B
Bash

# Template file for 'kpimtextedit'
pkgname=kpimtextedit
version=17.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules python qt5-qmake qt5-host-tools"
makedepends="qt5-devel grantlee5-devel kcodecs-devel kconfig-devel kconfigwidgets-devel
kemoticons-devel kiconthemes-devel kio-devel syntax-highlighting-devel
qt5-speech-devel"
short_desc="A textedit with PIM-specific features"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1"
homepage="https://projects.kde.org/projects/applications/kpimtextedit"
distfiles="https://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=2c3d8793959e30e306aafaac1b9ef8c1a9a94872e92b1b271d28e001350cce2c
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-tools-devel"
fi
kpimtextedit-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
}
}