aboutsummaryrefslogtreecommitdiffstats
path: root/testing/akonadi-contacts/APKBUILD
blob: 6f7e6447184ca602a97085161dc68ea22044ad04 (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
34
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi-contacts
pkgver=19.12.2
pkgrel=0
pkgdesc="Libraries and daemons to implement Contact Management in Akonadi"
arch="all !armhf"
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.1"
depends_dev="qt5-qtbase-dev kio-dev ki18n-dev kcompletion-dev kconfig-dev
	kcodecs-dev kiconthemes-dev kdbusaddons-dev kservice-dev ktextwidgets-dev
	kwidgetsaddons-dev kxmlgui-dev prison-dev kcontacts-dev kmime-dev
	akonadi-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

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

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="e007f28a80e63fd4a2c8dce10ef4b8d0b74ae619590d7e54e5f95ea64907b3494580756aeaa7c5e5686d944c6ca57d5f6f44a5125fa7aeaf2bad2cf2a2085f5d  akonadi-contacts-19.12.2.tar.xz"