31 lines
968 B
Bash
31 lines
968 B
Bash
# Template file for 'libkdepim'
|
|
pkgname=libkdepim
|
|
version=22.08.2
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
|
|
gettext kcoreaddons"
|
|
makedepends="akonadi5-devel akonadi-contacts-devel kcmutils-devel
|
|
kldap-devel akonadi-search-devel"
|
|
short_desc="Libraries for KDE PIM applications"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://community.kde.org/KDE_PIM"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/libkdepim-${version}.tar.xz"
|
|
checksum=bcb581aa6dc4eda3fcf4c6f779e3c2d7b9da74011e46fc5ec61c2e7a68024cee
|
|
|
|
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"
|
|
}
|
|
}
|