void-packages/srcpkgs/kcalendarcore/template

40 lines
1.3 KiB
Bash

# Template file for 'kcalendarcore'
pkgname=kcalendarcore
reverts="19.08.3_1 19.08.2_1 19.08.1_1 19.08.0_1 19.04.3_1 19.04.2_1 19.04.1_1 19.04.0_1 18.12.3_1 18.12.2_1 18.12.1_1 18.12.0_2 18.12.0_1 18.08.3_1 18.08.2_1 18.08.1_1 18.08.0_1 18.04.3_1 17.12.3_1"
version=5.69.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=4ef44809c4766843f71b908eafa66d2b00047984c47abe8c62c80f06a2cc2184
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_package() {
depends="${sourcepkg}-devel>=${version}_${revision}"
short_desc+=" - (transitional meta package)"
build_style=meta
}