aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kontact/APKBUILD
blob: 6a1fdddd0c75392cdf61ec2c9fad08ad40fc4a31 (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
33
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kontact
pkgver=19.12.2
pkgrel=1
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=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="da10a761e41c77d3ee13bdb04b8ed5497157b6e67204027404464a8be8bca4f4428af9278f32356e1fc24fe147bbbba8f277e3806be64e6b12fb3f1a08106c67  kontact-19.12.2.tar.xz"