void-packages/srcpkgs/incidenceeditor/template

32 lines
906 B
Bash

# Template file for 'incidenceeditor'
pkgname=incidenceeditor
version=22.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=3d8172cd5331f1ed3d36afff400d7b0efad6b497f1de459548c9613d199ef8a9
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"
}
}