aboutsummaryrefslogtreecommitdiffstats
path: root/community/akonadi-mime/APKBUILD
blob: 93d7922dbe12ec9937643ee9f0243554289c9845 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi-mime
pkgver=20.12.1
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="79f873c73e4600d5a5ccd5769408046f286a5c10ee2710c83b33cfd7e2f7bdc59a32123553c5364ba14136ac99f8d9fb5dec729d4ab1d91bffb7f5e0948957c8  akonadi-mime-20.12.1.tar.xz"