aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kmbox/APKBUILD
blob: f06db160f54c58df386e5e1f7beb0c2c0b39210a (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmbox
pkgver=19.12.2
pkgrel=1
pkgdesc="Library for accessing mail storages in MBox format"
arch="all !armhf"
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/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"

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

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="4b16d7e3de5e3e5ed7e5633a0e0d67eb4d7b323a74a67547cbdc9e3d91bff6473ec28dc4d838cca5c2e620b70d1651eb928e0b4c6f341b970155f5183725a703  kmbox-19.12.2.tar.xz"