aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdepim-runtime/APKBUILD
blob: 9d74a6f35853bf61a5a2dc02df7e4a02ae37d398 (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
32
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdepim-runtime
pkgver=20.12.2
pkgrel=0
pkgdesc="Extends the functionality of kdepim"
url="https://kontact.kde.org/"
# armhf blocked by extra-cmake-modules
# mips, ppc64le and s390x blocked by libkgapi -> qt5-qtwebengine
arch="all !armhf !ppc64le !s390x !mips !mips64"
license="LGPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtspeech-dev qt5-qtxmlpatterns-dev qt5-qtnetworkauth-dev qca-dev kconfig-dev kconfigwidgets-dev knotifyconfig-dev kio-dev kitemmodels-dev kcodecs-dev kwindowsystem-dev ktextwidgets-dev knotifications-dev kdoctools-dev kholidays-dev akonadi-dev kmime-dev akonadi-mime-dev kmailtransport-dev kidentitymanagement-dev akonadi-contacts-dev kcontacts-dev kcalendarcore-dev kcalutils-dev kmbox-dev kimap-dev akonadi-notes-dev akonadi-calendar-dev pimcommon-dev libkgapi-dev kdav-dev libxslt-dev shared-mime-info"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdepim-runtime-$pkgver.tar.xz"

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

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="234751643730d2ef2f7e4988ca1cf364c30c23997f5e611ef24b09745ee497742210af21096fe2301bca1bdadfda2e7cf47f7ace1627b79ee8d9f8cdd2ebac4e  kdepim-runtime-20.12.2.tar.xz"