void-packages/srcpkgs/kpimtextedit/template
2019-08-16 01:13:03 +02:00

31 lines
1 KiB
Bash

# Template file for 'kpimtextedit'
pkgname=kpimtextedit
version=19.08.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules python qt5-qmake qt5-host-tools
kcoreaddons"
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="Textedit with PIM-specific features"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/applications/kpimtextedit"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=45fcc5898e921c41eb28bb64ddd6d8240f4261360b9149a149ae4c281844dfcb
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"
}
}