void-packages/srcpkgs/kcalendarcore/template

39 lines
1.1 KiB
Bash

# Template file for 'kcalendarcore'
pkgname=kcalendarcore
version=5.64.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-devel libical-devel"
short_desc="The KDE calendar access library"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="${KDE_SITE}/frameworks/5.63/"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=983f240a7478a780dc403d577827f027856f9f67e8c3bfe8b69d56093e5bb80e
replaces="kcalcore>=0"
kcalendarcore-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
replaces="kcalcore-devel>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs/modules
vmove "usr/lib/*.so"
}
}
kcalcore_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - (transitional meta package)"
build_style=meta
}
kcalcore-devel_pacakge() {
depends="${sourcepkg}-devel>=${version}_${revision}"
short_desc+=" - (transitional meta package)"
build_style=meta
}