diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-03-29 14:05:17 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-29 15:17:47 +0000 |
commit | cc3015ba07fd3045d8410bc427d45bc0c6fd863c (patch) | |
tree | 6665b19bde75785e583eb3e6b0a4aa770e1c7d64 /testing | |
parent | 4f4123805c0934af087f92ae85217b6c1d33d9f2 (diff) | |
download | aports-cc3015ba07fd3045d8410bc427d45bc0c6fd863c.tar.bz2 aports-cc3015ba07fd3045d8410bc427d45bc0c6fd863c.tar.xz |
testing/kdav: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/kdav/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kdav/APKBUILD b/testing/kdav/APKBUILD new file mode 100644 index 0000000000..35d9b2c9df --- /dev/null +++ b/testing/kdav/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kdav +pkgver=19.12.3 +pkgrel=0 +pkgdesc="A DAV protocol implementation with KJobs" +url="https://kontact.kde.org/" +arch="all" +license="LGPL-2.0-or-later" +depends_dev="qt5-qtbase-dev qt5-qtxmlpatterns-dev kcoreaddons-dev kio-dev ki18n-dev" +makedepends="$depends_dev extra-cmake-modules" +subpackages="$pkgname-dev $pkgname-lang" +source="https://download.kde.org/stable/release-service/$pkgver/src/kdav-$pkgver.tar.xz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make -C build +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make -C build install +} + +sha512sums="058599407c943421c977c22633b1a8c5c50dfd690ea669dc45d0821c115b6f3b8577f656c523fa600a342a5d19880e1485bbb41a28eb39046d26dba447657859 kdav-19.12.3.tar.xz" |