aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kidentitymanagement/APKBUILD
blob: d1783304d2ff488a2e5068efbd7fa0b5c5c835ff (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kidentitymanagement
pkgver=19.08.0
pkgrel=0
pkgdesc="KDE PIM libraries"
arch="all"
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/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="2721a24a4c19fb781724cc3cb6c9f44ddb45c0ea37b518e539460191083bb4923a7ae46a33d79004cdad37c08bcc64cad9fbc8c09839f3bcb8ae29749139301b  kidentitymanagement-19.08.0.tar.xz"