akonadi5: fix conflict with akonadi

This commit is contained in:
Luciogi 2024-03-15 00:05:51 +05:00 committed by Đoàn Trần Công Danh
parent 6ee05341d1
commit a6b579051d

View file

@ -1,7 +1,7 @@
# Template file for 'akonadi5'
pkgname=akonadi5
version=23.08.5
revision=1
revision=2
build_style=cmake
build_helper="qemu"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
@ -10,8 +10,7 @@ hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
makedepends="qt5-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
qt5-plugin-sqlite qt5-plugin-tds kcompletion-devel kconfigwidgets-devel
kdbusaddons-devel kiconthemes-devel kitemmodels-devel kio-devel sqlite-devel
kaccounts-integration-devel libaccounts-qt5-devel qt5-tools-devel"
depends="shared-mime-info kaccounts-providers"
qt5-tools-devel"
checkdepends="dbus ${depends}"
short_desc="PIM layer providing an asynchronous API to access PIM data"
maintainer="John <me@johnnynator.dev>"
@ -33,8 +32,13 @@ do_check() {
"(AkonadiServer-dbconfig|entitytreemodel|akonadixml-xmldocument|mimetypechecker|AkonadiControl-agenttype|.*sqlite.*)test"
}
post_install() {
# fix conflict with akonadi
rm -r "${DESTDIR}"/{etc,usr/{bin,share}}
}
akonadi5-devel_package() {
short_desc+=" - development"
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include