aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kidentitymanagement/APKBUILD
blob: 5f80d8e8e906f6542daf854ac95208a4c13ceb80 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kidentitymanagement
pkgver=19.12.2
pkgrel=1
pkgdesc="KDE PIM libraries"
arch="all !armhf"
url="https://kontact.kde.org"
license="LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev kcoreaddons-dev kcompletion-dev ktextwidgets-dev kxmlgui-dev kio-dev kconfig-dev kcodecs-dev kiconthemes-dev kpimtextedit-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=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

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

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="ddebcba100ee177a3f6ae4b93027e0ebcfc98946ad2a125c99c945bb38a9fbf562023908d77f9b1bbe87737476102476d600f7f3b149083153c3dc7cd1793b85  kidentitymanagement-19.12.2.tar.xz"