aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kontact/APKBUILD
blob: 9b91ca74b29914f7bd2a279621bad1b5b1d65183 (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.0
pkgrel=0
arch="all !ppc64le !s390x" # 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="7cfec4b821b194746e203fd5e273c9d9643413e5441f357a58a2e9a29971a717271ed9803b91f0e71d01a4b6f3b92caec5c559f23ad433f1f503a06153b6a523  kontact-19.12.0.tar.xz"