aboutsummaryrefslogblamecommitdiffstats
path: root/community/libkdepim/APKBUILD
blob: 47d574e258335113d58778bd0a210f64b09aabc4 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
              
        
                                    
                 
                                       
                                                
                                                                                                                                                                                                                                                                                  
                                                              
                       
                                                                                             


                                        
                        
                                         
                                             

                                            
                           


         
                



                                                   
                                                              
 
                                                                                                                                                                       
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libkdepim
pkgver=20.04.2
pkgrel=0
pkgdesc="Lib for common KDEPim apps"
arch="all !armhf"
url="https://community.kde.org/KDE_PIM"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev kcmutils-dev kio-dev kwallet-dev kwidgetsaddons-dev akonadi-dev akonadi-contacts-dev akonadi-search-dev kldap-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/libkdepim-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="e6b706ef8bccff0feaf13242aff4922454f1e55e3699d9c7dbfb9f00a267dd86b4a19c7ef3b515e46b81e87337cd04cf55ba169a9eece219fcd01968ad951ad3  libkdepim-20.04.2.tar.xz"