void-packages/srcpkgs/incidenceeditor/template

32 lines
906 B
Bash

# Template file for 'incidenceeditor'
pkgname=incidenceeditor
version=21.12.1
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=b300a0e5dcd621d9b987dbb61e7bd4c9159c31e3aaa152f299029b5b650855c5
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"
}
}