aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grantleetheme/APKBUILD
blob: db95ebd8265cf6d5d8a04119d09626c3a46ce39a (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=grantleetheme
pkgver=19.12.2
pkgrel=1
pkgdesc="KDE PIM mail related libraries"
arch="all !armhf"
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/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

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

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

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