09ce31ca20
[skip ci]: too many packages changed, build won't finish in time. ollieparanoid made sure that this builds for x86_64, aarch64, armhf, armv7. Also he tested that this boots up in qemu-amd64.
34 lines
950 B
Text
34 lines
950 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
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 \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
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"
|