void-packages/srcpkgs/incidenceeditor/template

32 lines
906 B
Bash

# Template file for 'incidenceeditor'
pkgname=incidenceeditor
version=23.08.4
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=8ed4056b4a1a21a287af343e4bce2e1e6ef255d43bfd1cb789ab865cb74b1e35
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"
}
}