aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grantlee-editor/APKBUILD
blob: f9d0e2615de56e344caed3fd55842ee1a25c558a (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.04.2
pkgrel=0
arch="all"
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/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $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="989ae26cdb24248ce4c415f0cbf159c1d422a872e4857163efa708219ab36f102d1a02529bd6f5b0984a757e55e6e103462ad7198425c3c60452422fd7577bf8  grantlee-editor-19.04.2.tar.xz"