30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# Template file for 'akonadi-contacts'
|
|
pkgname=akonadi-contacts
|
|
version=20.12.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules gettext kcoreaddons"
|
|
makedepends="kio-devel kcontacts-devel kmime-devel akonadi-mime-devel prison-devel
|
|
libkleo-devel grantlee5-devel grantleetheme-devel"
|
|
short_desc="Libraries and daemons to implement Contact Management in Akonadi"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later, GPL-2.0-or-later"
|
|
homepage="https://community.kde.org/KDE_PIM/Akonadi"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/akonadi-contacts-${version}.tar.xz"
|
|
checksum=1e4d21c2897596db2f5d3b21a830c9ea9f247142bc4338013010db471f4c31bd
|
|
|
|
if [ "$CROSS_BUILD" ];then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools python3 kconfig"
|
|
fi
|
|
|
|
akonadi-contacts-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|