2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kdav2
|
|
|
|
pkgver=0.1.0
|
2019-05-21 15:09:25 +00:00
|
|
|
pkgrel=1
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgdesc='A DAV protocol implementation with KJobs'
|
|
|
|
arch="all"
|
2019-02-11 13:36:33 +00:00
|
|
|
url="https://community.kde.org/KDE_PIM"
|
2018-10-08 06:50:31 +00:00
|
|
|
license="GPL-2.0"
|
|
|
|
depends_dev="qt5-qtbase-dev qt5-qtxmlpatterns-dev kcoreaddons-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
|
|
source="https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
|
2018-10-08 06:50:31 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-11 13:36:33 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2018-10-08 06:50:31 +00:00
|
|
|
-DBUILD_QCH=ON
|
2019-02-11 13:36:33 +00:00
|
|
|
make
|
2018-10-08 06:50:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
sha512sums="4d4e19ed9b8b44f5eea7d40d24dd4accd6b41ea5020b492d83d85ff7fee1e0bc72f50667a31b8021fe9aaa45fbaa6dea86fdb81a4f4db45d9d16ba98adb636b4 kdav2-0.1.0.tar.xz"
|