void-packages/srcpkgs/kcalutils/template

31 lines
880 B
Bash

# Template file for 'kcalutils'
pkgname=kcalutils
version=23.08.5
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="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=9db6c7ddfaa94de33dce5caa2fd5a8a935a33774bddfc96706ed93d03f846a3d
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"
}
}