aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grantleetheme/APKBUILD
blob: 4666959739198f6af5e9c1bb9c81051077a5f8b9 (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=grantleetheme
pkgver=19.08.1
pkgrel=0
pkgdesc="KDE PIM mail related libraries"
arch="all"
url="https://kontact.kde.org/"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="extra-cmake-modules knewstuff-dev ki18n-dev grantlee-dev"
checkdepends="xvfb-run"
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 xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="9facbc5c96568348743a3923488a269c89a4e71c4775e32ad85b3f1183a512ec9daf505754e7a1f20a10251b623f6dfe6dbd0487d8b61f30b514fd225591b1e1  grantleetheme-19.08.1.tar.xz"