void-packages/srcpkgs/libkdepim/template

29 lines
937 B
Bash

# Template file for 'libkdepim'
pkgname=libkdepim
version=18.04.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python kcoreaddons"
makedepends="akonadi-contacts-devel kcmutils-devel kldap-devel akonadi-search-devel"
short_desc="Libraries for KDE PIM applications"
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/libkdepim-${version}.tar.xz"
checksum=54ec618f408b58cb8432d0096efb941d1feb500b8fc1f824814cbcb02b941957
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
libkdepim-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"
}
}