void-packages/srcpkgs/calendarsupport/template

27 lines
887 B
Bash

# Template file for 'calendarsupport'
pkgname=calendarsupport
version=21.04.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules kconfig python3 qt5-host-tools qt5-qmake
gettext kcoreaddons qt5-tools"
makedepends="kholidays-devel akonadi-calendar-devel akonadi-notes-devel
pimcommon-devel"
short_desc="Calendar support library"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/calendarsupport-${version}.tar.xz"
checksum=8fd41c24640abfaf8cb3e338ed9700c86e90c7f69dbf37ff6b54175fe30d7d54
calendarsupport-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"
}
}