void-packages/srcpkgs/libkdepim/template

29 lines
937 B
Bash
Raw Normal View History

2018-04-06 18:41:10 +02:00
# Template file for 'libkdepim'
pkgname=libkdepim
2018-08-17 12:18:16 +02:00
version=18.08.0
2018-04-06 18:41:10 +02:00
revision=1
build_style=cmake
2018-07-28 19:24:32 +02:00
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python kcoreaddons"
2018-04-06 18:41:10 +02:00
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"
2018-07-28 19:24:32 +02:00
distfiles="${KDE_SITE}/applications/${version}/src/libkdepim-${version}.tar.xz"
2018-08-17 12:18:16 +02:00
checksum=d49c519664c5d6539fff8899350ebb8760919018b58e0612597ce2587275dcbd
2018-07-28 19:24:32 +02:00
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
2018-04-06 18:41:10 +02:00
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"
}
}