aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdesdk-kioslaves/APKBUILD
blob: 66a3479298ee09c6dfde718981b95424ccee3039 (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=kdesdk-kioslaves
pkgver=19.08.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="f3824c6c9b72e7b3eeb1ad049d04c1e1b05b1ba08ea11744983f884a0dc71ebe6efd93fabdd7236f0bdf71fcb2c98008c3d5a0c784a480c9b909389cc6a78dab  kdesdk-kioslaves-19.08.3.tar.xz"