# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kgamma5 pkgver=5.18.2 pkgrel=0 pkgdesc="Adjust your monitor's gamma settings" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0-or-later" makedepends="qt5-qtbase-dev kconfig-dev kconfigwidgets-dev kdoctools-dev ki18n-dev extra-cmake-modules" source="https://download.kde.org/stable/plasma/$pkgver/kgamma5-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B "$builddir"/build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="2a5a470f55a0d68c6083725ce157039c9965c0262ceb0b34a67269eca696110191d4c5dce11be16944e86eb03df7b11d2162953b40b682ea55d5fef29091eab2 kgamma5-5.18.2.tar.xz"