aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kontact/APKBUILD
blob: bd6eeda9ea6c02a4a5b697b6f531055920a61f03 (plain)
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
33
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kontact
pkgver=19.12.1
pkgrel=0
arch="all !ppc64le !s390x !armhf" # Limited by qt5-qtwebengine
url="https://kontact.kde.org/"
pkgdesc="Container application to unify several major PIM applications within one application"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev kdbusaddons-dev
	kdoctools-dev kcmutils-dev kcrash-dev kwindowsystem-dev kiconthemes-dev
	kpimtextedit-dev akonadi-dev libkdepim-dev grantleetheme-dev kontactinterface-dev
	kdepim-apps-libs-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="8730c86420324272b282952006d051f189fe52448a9175a0d709ecc846aeb9e7cfae8c2df85ef52beb9bde742369fa78b19ce3204589f1ce08199a35d1523e58  kontact-19.12.1.tar.xz"