aboutsummaryrefslogtreecommitdiffstats
path: root/community/khelpcenter/APKBUILD
blob: 2d4f9084578d73487eb18b5c05ce01db3c0cd252 (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
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=khelpcenter
pkgver=20.12.2
pkgrel=0
pkgdesc="Application to show KDE Applications' documentation"
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules
url="https://userbase.kde.org/KHelpCenter"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kbookmarks-dev kconfig-dev kcoreaddons-dev kdbusaddons-dev kdoctools-dev ki18n-dev kinit-dev khtml-dev kservice-dev kwindowsystem-dev grantlee-dev xapian-core-dev libxml2-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/khelpcenter-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="5eb47b6cfc8f9116cb3a1e682b27505d9e674569883fc5473023bd02dacbe67859d0bb8479f5cdac9bf5c2dca780066feb18d61491154b1ce8aeec9e9e7f38ad  khelpcenter-20.12.2.tar.xz"