# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kldap pkgver=18.12.0 pkgrel=0 pkgdesc='LDAP access API for KDE' arch="all" url='https://github.com/kde/kldap' license="LGPL-2.1" depends="" depends_dev="kio-dev openldap-dev" makedepends="$depends_dev extra-cmake-modules cyrus-sasl-dev" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" #options="!check" # Requires running X11 server build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="f52680e3b018367955b850a5c0711bbee414ceb98cfb537268812fad13cb0768fa378179e2e306f46b7ae1a6293c54e1d3f51b94d84e91864a76ad2a26e61d77 kldap-18.12.0.tar.xz"