void-packages/srcpkgs/akonadi-contacts/template
2020-03-06 08:36:01 +01:00

28 lines
972 B
Bash

# Template file for 'akonadi-contacts'
pkgname=akonadi-contacts
version=19.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext kcoreaddons"
makedepends="kio-devel kcontacts-devel kmime-devel akonadi-mime-devel prison-devel"
short_desc="Libraries and daemons to implement Contact Management in Akonadi"
maintainer="John <johnz@posteo.net>"
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=b0baed9edb8c05b6d9b8db84239cd83a334d8f1d14d4aa8027dc1139a543eadf
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"
}
}