aboutsummaryrefslogtreecommitdiffstats
path: root/community/communicator/APKBUILD
blob: 14d5aad675ae6c6857fb45f679c0bc7550426d21 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=communicator
pkgver=2.0.0
pkgrel=3
pkgdesc="Contacts and dialer application"
# armhf blocked by extra-cmake-modules
# mips64, s390x and riscv64 blocked by mauikit
arch="all !armhf !mips64 !s390x !riscv64"
url="https://invent.kde.org/maui/communicator"
license="GPL-3.0-or-later"
depends="
	mauikit-filebrowsing
	mauikit-texteditor
	"
makedepends="
	extra-cmake-modules
	kcontacts-dev
	kcoreaddons-dev
	ki18n-dev
	kpeople-dev
	kservice-dev
	mauikit-dev
	mauikit-filebrowsing-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtquickcontrols2-dev
	"
source="https://download.kde.org/stable/maui/communicator/$pkgver/communicator-$pkgver.tar.xz"
options="!check" # No tests

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
d24ee6d7029495acb079ea304b8236084141aded44acc072979fec03773421238f6232e26fbdd57bcfe9e6df42282517c586730e18d5248bc1966437c8c98bdc  communicator-2.0.0.tar.xz
"