summaryrefslogtreecommitdiff
path: root/testing/kidentitymanagement/APKBUILD
blob: 22bf821198ea5faca2ed870d6e4f250029197f6e (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.12.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/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="84362a68b04d005952af1695c5c8177f6282d91d7343d0fcd31d72790568cf0b6d1c2882267862c09907f1f8694a07f09cbface274b7e83b39112615c402fda9  kidentitymanagement-19.12.0.tar.xz"