32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'libkdepim'
|
|
pkgname=libkdepim
|
|
version=24.05.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
|
|
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
|
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
|
|
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext"
|
|
makedepends="kf6-kcompletion-devel kf6-ki18n-devel qt6-tools-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=863aa289c7892255efdaa9b21d389804ee93f58e1479b99dc6f4d018819bb4ee
|
|
|
|
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/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|