aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kmbox/APKBUILD
blob: b98752016760859fb9f1e8f783e821ba8cf85654 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmbox
pkgver=19.08.1
pkgrel=0
pkgdesc="Library for accessing mail storages in MBox format"
arch="all"
url="https://kontact.kde.org/"
license="LGPL-2.0-or-later"
depends_dev="kmime-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$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() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="8629a880fb3ad5c894e7e59b8a839901e5e1f892e142c5e084ee91686244db30895dc58f1577ace28e6456048e4a993031ee30cab1cf9089437fc24f286ddd03  kmbox-19.08.1.tar.xz"