2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kldap
|
2019-03-13 08:32:18 +00:00
|
|
|
pkgver=18.12.3
|
2019-05-21 15:09:25 +00:00
|
|
|
pkgrel=1
|
2019-02-23 11:16:17 +00:00
|
|
|
pkgdesc="LDAP access API for KDE"
|
2018-10-08 06:50:31 +00:00
|
|
|
arch="all"
|
2019-02-23 11:16:17 +00:00
|
|
|
url="https://github.com/kde/kldap"
|
2018-10-08 06:50:31 +00:00
|
|
|
license="LGPL-2.1"
|
|
|
|
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 \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
|
2018-10-08 06:50:31 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-23 11:16:17 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_QCH=ON
|
2018-10-08 06:50:31 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-03-13 08:32:18 +00:00
|
|
|
sha512sums="9c3514952c9a28bc46769be02201572272be8b4491902085276318311da3024ceeb8d40b5b7a52156cd1b3eaf44246a6eba2a27981a9409cfd130f276cf5a405 kldap-18.12.3.tar.xz"
|