void-packages/srcpkgs/kldap/template

28 lines
944 B
Bash

# Template file for 'kldap'
pkgname=kldap
version=24.02.2
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=9546f4caa2034100aab68c9e893fe032f93821515bbd3194325dd8410f4e1854
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
}
}