void-packages/srcpkgs/kcalutils/template

31 lines
884 B
Bash

# Template file for 'kcalutils'
pkgname=kcalutils
version=23.08.3
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=1721ea7c9a04dc0f35939cab2d6af207317b7905f4b3a8c42c42011f027331b0
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"
}
}