aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grantlee-editor/APKBUILD
blob: 6c65bee6148391e8a4f96bc0c96db3c14b074c9e (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=grantlee-editor
pkgver=19.12.2
pkgrel=1
arch="all !ppc64le !s390x !armhf" # Limited by qt5-qtwebengine
url="https://kontact.kde.org/"
pkgdesc="Utilities and tools to manage themes in KDE PIM applications "
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev kcrash-dev kdbusaddons-dev kdoctools-dev kxmlgui-dev ktexteditor-dev knewstuff-dev karchive-dev pimcommon-dev messagelib-dev grantleetheme-dev akonadi-mime-dev libkleo-dev kimap-dev kpimtextedit-dev syntax-highlighting-dev qgpgme"
source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

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="f115c3902515972368446fca1b3caf6dab3dc60e415b01a854442e94f719e0bd99a158696e6869fe9f4a2f9006e4bf19a2f556313eadd39ee773cccdedf9af60  grantlee-editor-19.12.2.tar.xz"