void-packages/srcpkgs/akonadi-calendar/template

37 lines
991 B
Bash

# Template file for 'akonadi-calendar'
pkgname=akonadi-calendar
version=23.08.4
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules python3 qt5-qmake qt5-host-tools
gettext kcoreaddons kconfig"
makedepends="akonadi-contacts-devel kmailtransport-devel kcalutils-devel
messagelib-devel"
short_desc="Akonadi calendar integration"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/akonadi-calendar-${version}.tar.xz"
checksum=b8a6b260c3230d8336382d8398e3106e308148bf0d3e9dc1dd613e9533ce5e75
do_check() {
cd build
ctest -E 'kcalcoreserializertest'
}
do_check() {
cd build
ctest -E 'kcalcoreserializertest'
}
akonadi-calendar-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}