void-packages/srcpkgs/incidenceeditor/template

32 lines
906 B
Bash

# Template file for 'incidenceeditor'
pkgname=incidenceeditor
version=22.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools kcoreaddons kconfig
gettext"
makedepends="calendarsupport-devel eventviews-devel kdiagram-devel"
short_desc="KDE PIM incidence editor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=6bd14060809c5d45fb6aedc354b24f0b359ab3c87c14519c54dd3295562cb199
do_check() {
# failing tests are disabled
cd build
ctest -E ".*sqlite.*test"
}
incidenceeditor-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"
}
}