aboutsummaryrefslogtreecommitdiffstats
path: root/testing/akonadi-contacts/APKBUILD
blob: 87b100c00bf1322747818385339ce4e51c3d6f1b (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.08.2
pkgrel=0
pkgdesc="Libraries and daemons to implement Contact Management in Akonadi"
arch="all"
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/applications/$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="9311068388b4a5f4be047849e93e5de82febd2fe7ee25c518ece41058ed71797200217d7ee2668d42a743e95f5fe1df5a60c7a83c5376adb3fb345e36333e232  akonadi-contacts-19.08.2.tar.xz"