mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
32 lines
1 KiB
Bash
32 lines
1 KiB
Bash
# Template file for 'kf6-kcalendarcore'
|
|
pkgname=kf6-kcalendarcore
|
|
version=6.12.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml"
|
|
hostmakedepends="extra-cmake-modules qt6-tools qt6-base qt6-declarative-host-tools"
|
|
makedepends="qt6-base-devel libical-devel qt6-declarative-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=f870fa4e39f91e04f9e68f2a3eb0f49479846005bb0cd41803c9210f5e95e251
|
|
|
|
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"
|
|
}
|
|
}
|