aboutsummaryrefslogblamecommitdiffstats
path: root/community/akonadi-mime/APKBUILD
blob: 72ce9b4d71952b815af6f4dba4dd4d10a6493f80 (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-mime
pkgver=20.12.3
pkgrel=0
pkgdesc="Libraries and daemons to implement basic email handling"
arch="all !armhf !mips !mips64 !s390x" # limited by akonadi
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev kcodecs-dev kconfigwidgets-dev kdbusaddons-dev kio-dev ki18n-dev kxmlgui-dev kmime-dev kitemmodels-dev akonadi-dev>=$pkgver shared-mime-info libxslt-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-mime-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

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

check() {
	# mailserializerplugintest is broken
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "mailserializerplugintest"
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="9ca435850f4c65ea285b0663d2b2f490ad79e7d238ec3161a1c60e58b0b897c98f0770e20ebc050c68827b129f10af173cf77ae3ec98fca684ef69839df53a93  akonadi-mime-20.12.3.tar.xz"