void-packages/srcpkgs/akonadi-contacts/template

29 lines
966 B
Bash
Raw Normal View History

# Template file for 'akonadi-contacts'
pkgname=akonadi-contacts
version=17.12.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules"
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-or-later"
homepage="https://community.kde.org/KDE_PIM/Akonadi"
distfiles="https://download.kde.org/stable/applications/${version}/src/akonadi-contacts-${version}.tar.xz"
checksum=214a9859ebb02a92f84a754f5670b7360c6883d8e2ef032c339f7f053bfffb89
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"
}
}