void-packages/srcpkgs/kcalutils/template

31 lines
884 B
Bash

# Template file for 'kcalutils'
pkgname=kcalutils
version=23.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
gettext kcoreaddons kconfig"
makedepends="kcalendarcore-devel kidentitymanagement-devel"
short_desc="The 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=c7678b9f2cac356ee11153b53b692427cae97980ab927617498e159c36bf3fd6
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/qt5/mkspecs
vmove "usr/lib/*.so"
}
}