aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kde-dev-utils/APKBUILD
blob: 1e6b4ce3976d87fdfb94eed7b91f24c71d1e8ae3 (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.04.3
pkgrel=0
arch="all"
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 ki18n-dev kcoreaddons-dev kparts-dev kwidgetsaddons-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="df6a8001823a0dc1afbd35f6e1d8c0ed5552b68214564b5a5be97801d91f2a989b6f72231dc3aba327006cfe940d09489b4597187376b2413950648c6a6a7598  kde-dev-utils-19.04.3.tar.xz"