aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-19 14:12:03 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 08:27:45 -0300
commitde97fd9fc8e1838054cf08acb518f772444d0e3a (patch)
tree7f9e746ff3974401eeeafc716c67995c2adefe5b /testing
parent20f3905cd223e3dfeea225ac1657407e7f06415e (diff)
downloadaports-de97fd9fc8e1838054cf08acb518f772444d0e3a.tar.bz2
aports-de97fd9fc8e1838054cf08acb518f772444d0e3a.tar.xz
testing/kldap: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/kldap/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/kldap/APKBUILD b/testing/kldap/APKBUILD
new file mode 100644
index 0000000000..4445bcdbd0
--- /dev/null
+++ b/testing/kldap/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kldap
+pkgver=19.04.2
+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="654883fea09a06506d8dbf69f2bb39c6543d1dc58bace10302d3082ab75558b0a59598a89849bbf1cd1c4f407a19e747cba909745a1456ab1572b2de2038d630 kldap-19.04.2.tar.xz"