void-packages/srcpkgs/kldap/template

28 lines
944 B
Bash

# Template file for 'kldap'
pkgname=kldap
version=24.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base python3 kf6-kconfig
gettext kf6-kcoreaddons kf6-kdoctools"
makedepends="kf6-kio-devel qtkeychain-qt6-devel kf6-kdoctools-devel"
short_desc="LDAP access API for KDE"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/kldap-${version}.tar.xz"
checksum=94b52c48d59a2a078461e7d398fdde8a0746f8319392e49d201745f02e46d2ef
kldap-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}