void-packages/srcpkgs/kldap/template

28 lines
944 B
Bash

# Template file for 'kldap'
pkgname=kldap
version=24.05.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=052881cac0687549ea858c2b79edfd1211376dd3c5e2defe230d17a9190397af
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
}
}