aboutsummaryrefslogblamecommitdiffstats
path: root/community/kdav/APKBUILD
blob: 218e4278da64fb7ff852115a7d3d972a2dbe959f (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
             

                                                  
                                          
                                                                                                         

                                                                                    


                                                                                    




                                             

                                            
                           






                                          
                                                              

 
                                                                                                                                                                 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdav
pkgver=5.75.0
pkgrel=0
pkgdesc="A DAV protocol implementation with KJobs"
url="https://community.kde.org/Frameworks"
arch="all !armhf !mips64 !s390x" # armhf blocked by qt5-qtdeclarative and mips64, s390x blocked by polkit
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 doxygen qt5-qttools-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kdav-$pkgver.tar.xz"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_QCH=ON
	cmake --build build
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="c187ea9087dcd7ea89e684618a38e7e2442bbfa013b295c3aa1fa74cf8445a9f95dda5734971a4cd7a6fb88febca8189e2dab6d51594fff1efa70f1d394c2236  kdav-5.75.0.tar.xz"