aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cervisia/APKBUILD
blob: d7417d0790840a28f515e7c857639a880b27b3d3 (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
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=cervisia
pkgver=19.12.2
pkgrel=1
arch="all !armhf"
url="https://kde.org/applications/development/org.kde.cervisia"
pkgdesc="A user friendly version control system front-end"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kparts-dev kdoctools-dev kinit-dev kiconthemes-dev knotifications-dev kwidgetsaddons-dev kitemviews-dev kdesu-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests

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="209d8eb9b201d3e3fc1694a8c10592a106f527e197663b71f87ad0a037518f272889eeee8e69b15806d8ca255ae9e0a3c58c7ece6597fde4b29432be6f4e4896  cervisia-19.12.2.tar.xz"