akonadi5: conflicts with kf6-akonadi instead

This commit is contained in:
Đoàn Trần Công Danh 2024-05-12 08:50:28 +07:00
parent e1906b6df3
commit ef6f71e377

View file

@ -1,7 +1,7 @@
# Template file for 'akonadi5' # Template file for 'akonadi5'
pkgname=akonadi5 pkgname=akonadi5
version=23.08.5 version=23.08.5
revision=2 revision=3
build_style=cmake build_style=cmake
build_helper="qemu" build_helper="qemu"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3 hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
@ -18,6 +18,7 @@ license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM/Akonadi" homepage="https://community.kde.org/KDE_PIM/Akonadi"
distfiles="${KDE_SITE}/release-service/${version}/src/akonadi-${version}.tar.xz" distfiles="${KDE_SITE}/release-service/${version}/src/akonadi-${version}.tar.xz"
checksum=abdbdb28c1084a6ad119d7292175ad31efb4a7898a32cc32a35aa1485d9c4f38 checksum=abdbdb28c1084a6ad119d7292175ad31efb4a7898a32cc32a35aa1485d9c4f38
conflicts="kf6-akonadi>=0"
pre_configure() { pre_configure() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
@ -33,8 +34,11 @@ do_check() {
} }
post_install() { post_install() {
# TODO once everything moved to kf6-akonadi, drop them
# It's needed to kmymoney, for now, conflicts with kf6-akonadi
# kmail built with akonadi5 doesn't work with kf6-akonadi
# fix conflict with akonadi # fix conflict with akonadi
rm -r "${DESTDIR}"/{etc,usr/{bin,share}} : rm -r "${DESTDIR}"/{etc,usr/{bin,share}}
} }
akonadi5-devel_package() { akonadi5-devel_package() {