aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libkdepim/APKBUILD
blob: 1aa4ed8538030f6868c4b0b0764c45984add0671 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libkdepim
pkgver=19.12.2
pkgrel=1
pkgdesc="Lib for common KDEPim apps"
arch="all !armhf"
url="https://community.kde.org/KDE_PIM"
license="GPL-2.0i-or-later AND LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev kcmutils-dev kio-dev kwallet-dev kwidgetsaddons-dev akonadi-dev akonadi-contacts-dev akonadi-search-dev kldap-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
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 \
		-DBUILD_DESIGNERPLUGIN=ON
	make
}

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

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