void-packages/srcpkgs/akonadi-search/template
2018-08-05 18:28:55 -03:00

29 lines
944 B
Bash

# Template file for 'akonadi-search'
pkgname=akonadi-search
version=18.04.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python AppStream"
makedepends="akonadi-mime-devel xapian-core-devel krunner-devel kcmutils-devel
kcontacts-devel kcalcore-devel"
short_desc="Libraries and daemons to implement searching in Akonadi"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/applications/${version}/src/akonadi-search-${version}.tar.xz"
checksum=4360878893c9bf8ed49b4af294954d35d3b2183d29eaa5d40f02e0fcc9234995
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" xapian-core-devel"
fi
akonadi-search-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}