# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kldap pkgver=19.12.2 pkgrel=1 pkgdesc="LDAP access API for KDE" arch="all !armhf" url="https://github.com/kde/kldap" license="LGPL-2.0-or-later" depends_dev="kio-dev ki18n-dev kdoctools-dev kcompletion-dev kwidgetsaddons-dev openldap-dev" makedepends="$depends_dev extra-cmake-modules cyrus-sasl-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="324e33c2438f14e34e3fcff9a87504f6ba407f5dfede6d9106b40cdc158f063e94135cf37fe00d7311002d8e200a34c8e3084240a6c4e0e27d4651d97d57c29a kldap-19.12.2.tar.xz"