aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/kf6-kcalendarcore/template
blob: c710b7db22f63cac6bf900bb14a35f2bb2c612a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Template file for 'kf6-kcalendarcore'
pkgname=kf6-kcalendarcore
version=6.3.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base"
makedepends="qt6-base-devel libical-devel"
checkdepends="perl"
short_desc="Library for Interfacing with Calendars"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kcalendarcore"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=cddf76b604cb5e26320781f76ca0caba8e23e653263d2a2095e91b288a1613fb

do_check() {
	cd build
	# disable failing tests
	ctest -E "testicaltimezones|Compat-AppleICal_1.5.ics|Compat-KOrganizer_3.1a.ics|Compat-Mozilla_1.0.ics"
}

kf6-kcalendarcore-devel_package() {
	depends="$makedepends ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}