aboutsummaryrefslogblamecommitdiffstats
path: root/community/akonadi-calendar-tools/APKBUILD
blob: 31902b9160d35c073b2fdceafa09098a25e093d9 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
              
        
                                                                                                                              


                                               
                                                                                                                                                                          
                                                                                                          



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                                    
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi-calendar-tools
pkgver=20.12.1
pkgrel=0
arch="all !ppc64le !s390x !armhf !mips !mips64" # Limited by akonadi-calendar -> kmailtransport -> libkgapi -> qt5-qtwebengine
url="https://kontact.kde.org/"
pkgdesc="CLI tools to manage akonadi calendars"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev akonadi-dev>=$pkgver kcalendarcore-dev kcalutils-dev akonadi-calendar-dev libkdepim-dev calendarsupport-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-calendar-tools-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests available

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="fc6c940e55fa86f91123a7cb0d2b2bb766b8adc7057d0a35f037bd100cd83efed11b7df7ca0cbc4d3e4e95133d1ce810b931fb0fe41b0e73f0a835a7edadea38  akonadi-calendar-tools-20.12.1.tar.xz"