aboutsummaryrefslogblamecommitdiffstats
path: root/testing/kdebugsettings/APKBUILD
blob: 9f719aa09943bde52d78f6e4e0a48a81b9121d0e (plain) (tree)






























                                                                                                                                                                            
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdebugsettings
pkgver=19.04.3
pkgrel=0
arch="all"
url="https://kde.org/applications/utilities/"
pkgdesc="An application to enable/disable qCDebug"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kconfig-dev kdbusaddons-dev ki18n-dev kwidgetsaddons-dev kitemviews-dev kcompletion-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="f6bb3475ce8c56798ddb8bda933cebd1637c64f748743014379a54a5662525ce7f2bb0f039e7390756c12c6fc12d6a5b0c167a0ea16f70d9d5829b7a675e40ff  kdebugsettings-19.04.3.tar.xz"