aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kimap/APKBUILD
blob: a63222c9ec49adc307e68edf5a3c704c42df939d (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=kimap
pkgver=19.12.0
pkgrel=0
pkgdesc="Job-based API for interacting with IMAP servers"
arch="all"
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev cyrus-sasl-dev kcoreaddons-dev ki18n-dev kio-dev kmime-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	# loginjobtest is broken
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "loginjobtest"
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="1ca537b5b9fad58c16342ad138626f7052428587a5084e694c50bf5588f053400d8ea87d02166eb9bc9de07d427aac019fe35e4fc192bc73c2f07c7a3bc19b42  kimap-19.12.0.tar.xz"