void-packages/srcpkgs/incidenceeditor/template

32 lines
906 B
Bash

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