blob: ca0d6bdcd59a89f5d3a25900a53eb30799564ef9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kldap
pkgver=19.08.0
pkgrel=0
pkgdesc="LDAP access API for KDE"
arch="all"
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/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="6ba7bc90b2e33863cced031cc33edf82c446075fdfca711f2178d8db59c39f5ff536ee77a9094c5c92ec09fe01b574aced6d4c58af85980b970b2ff67bc30ab0 kldap-19.08.0.tar.xz"
|