aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kde-dev-utils/APKBUILD
blob: 0e0a9565fdce74cdd00966ee84c97c9f02a01fde (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=kde-dev-utils
pkgver=19.12.2
pkgrel=1
arch="all !armhf"
url="https://kde.org/applications/development/"
pkgdesc="Small utilities for developers using KDE/Qt libs/frameworks"
license="(LGPL-2.0-only OR LGPL-3.0-only) AND GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qttools-dev qt5-qttools-static ki18n-dev kcoreaddons-dev kparts-dev kwidgetsaddons-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kde-dev-utils-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # No tests

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="52bc50b1522d246aa0242d5c308786ebd2f7afa5801b94548798efa6470e2e94afa01866895f4962699174fc6d0885c4dc72fc79d3c5403970bf2e268fd989b5  kde-dev-utils-19.12.2.tar.xz"