aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdesdk-kioslaves/APKBUILD
blob: 1006c6dedfc7ef5020767e25609ddae0b438ee5d (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=kdesdk-kioslaves
pkgver=19.04.3
pkgrel=0
arch="all"
url="https://kde.org/applications/development"
pkgdesc="KIO-Slaves"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kio-dev perl-dev"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # No tests

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="d4d16740b0be399affd1197d6e08d98c77d9410400597ec7b9e48aef79313dfb0898aee9662c8bd0e4475fd443da6942a2a87170f262f2a3a864221e83c8c3bd  kdesdk-kioslaves-19.04.3.tar.xz"