void-packages/srcpkgs/kcalutils/template

34 lines
1.1 KiB
Bash

# Template file for 'kcalutils'
pkgname=kcalutils
version=24.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools python3
gettext kf6-kcoreaddons kf6-kconfig"
makedepends="kidentitymanagement-devel kf6-ktexttemplate-devel kf6-kcalendarcore-devel"
short_desc="KDE calendar utility library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/kcalutils-${version}.tar.xz"
checksum=a51ac3d5dc75c6e5a54edaf067e0d4bdf58e7ae7117a5088a4f92872783fb099
do_check() {
cd build
ctest -E 'kcalutils-testincidenceformatter'
}
kcalutils-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}