aboutsummaryrefslogtreecommitdiffstats
path: root/testing/krdc/APKBUILD
blob: 1de9e9918b1c8c2ff6d089cd2198989da916496d (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=krdc
pkgver=19.12.2
pkgrel=1
arch="all !armhf"
url="https://kde.org/applications/internet/krdc/"
pkgdesc="Remote Desktop Client"
license="GPL-2.0-or-later AND GFDL-1.2-only"
depends="freerdp"
makedepends="extra-cmake-modules kconfig-dev kcmutils-dev kdnssd-dev knotifyconfig-dev knotifications-dev kbookmarks-dev kiconthemes-dev kxmlgui-dev kcompletion-dev kwallet-dev kwidgetsaddons-dev kwindowsystem-dev knotifyconfig-dev ki18n-dev kdoctools-dev libvncserver-dev libssh-dev"
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="a64d89e436c5f75c4489d6fec0838b1f72fe1e60cbd5986056ce1c632d4c4ea2af22f36b3452152607f9d9793fe91cfc7b9baa4e2d1fe9da12b0ab4911dae8c7  krdc-19.12.2.tar.xz"