aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kontact/APKBUILD
blob: 4a2bef719567c415f51031cf013f87f2c093f840 (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.08.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/applications/$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="94061efb2fc628290d2ee813a72bf062c30cfe237a5407d0933563d9ee6550c6044353f649b4026ab9a5a6a50936c738494a1b8add563f4a35cbc1572cf0b126  kontact-19.08.0.tar.xz"