aboutsummaryrefslogblamecommitdiffstats
path: root/community/pimcommon/APKBUILD
blob: 9a76e91cc640778c95f0444cb156657ee8f506ca (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=pimcommon
pkgver=20.04.2
pkgrel=0
pkgdesc="Common lib for KDEPim"
arch="all !armhf"
url='https://community.kde.org/KDE_PIM'
license="GPL-2.0-or-later"
depends_dev="qt5-qtbase-dev karchive-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev ki18n-dev kiconthemes-dev kitemmodels-dev kjobwidgets-dev kio-dev knewstuff-dev kservice-dev kwidgetsaddons-dev kxmlgui-dev akonadi-dev akonadi-contacts-dev kcontacts-dev kimap-dev libkdepim-dev kpimtextedit-dev purpose-dev kmime-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/pimcommon-$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="eeca7d414d4e5b8601c137aa22f657eb24f06adb423ce85886a525347a5bac63a4e2c9fc706d49a4986a3dc382b54bfc832953fa8ca926f713b0c01865e63f3c  pimcommon-20.04.2.tar.xz"