pmaports/kde/kldap/APKBUILD

35 lines
958 B
Text
Raw Normal View History

2018-10-08 06:50:31 +00:00
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kldap
pkgver=18.12.2
2018-10-08 06:50:31 +00:00
pkgrel=0
pkgdesc="LDAP access API for KDE"
2018-10-08 06:50:31 +00:00
arch="all"
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 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-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
}
sha512sums="7452d6c8843f7d7e5827782ff4f38846b5303e690c06c6726c4ca65864921ff7c0a7dcca1260f9cb77393ae201a28842f152f7cad12758b9e84acb30b62d19d7 kldap-18.12.2.tar.xz"