aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ktnef/APKBUILD
blob: 844d0d19b21a3fc6cb54e49aa79a47624d44489e (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=ktnef
pkgver=19.04.3
pkgrel=0
pkgdesc="API for handling TNEF data"
arch="all"
url="https://kontact.kde.org/"
license="LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev kcalcore-dev kcalutils-dev kcontacts-dev ki18n-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$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 ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="067fe58fd555cf2047982bb53978a88fc63b6b5cc122396ec1a501de391af6299571c883e1789b703a4c68c88ba133d09809ac5162d8b6e2c0ea145a2f8e859d  ktnef-19.04.3.tar.xz"