aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdesdk-kioslaves/APKBUILD
blob: 7acb24d35a77e24db02c923c7f9c153cf235f664 (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
32
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdesdk-kioslaves
pkgver=20.12.2
pkgrel=0
arch="all !armhf !mips !mips64 !s390x"
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/release-service/$pkgver/src/kdesdk-kioslaves-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # No tests

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="92216fd234d35034f988629db30e5db49985928367c4aae2523d410aa34d15fb269093aa4b26c6c13574d8a11f838efecbe459dfbdc3e6badd673c333cd7e7b7  kdesdk-kioslaves-20.12.2.tar.xz"