aboutsummaryrefslogblamecommitdiffstats
path: root/community/kgamma5/APKBUILD
blob: fd24dbda9a9e791a992ade22a91152b640c77bad (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        
                                              


                                      

                                                   
                                                                                                       
                                                                              


                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                    
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kgamma5
pkgver=5.20.3
pkgrel=0
pkgdesc="Adjust your monitor's gamma settings"
# armhf blocked by extra-cmake-modules
# s390x blocked by kconfigwidgets
arch="all !armhf !s390x"
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 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="d2a9f9afb0873c4da1baed33e4f128ac19a00980ea6e6c3bf5b498e846706efc843fcca16bdfe505ad852ff1953c7c9ebf00a934e573a8ecd6b392ef9c5b9c84  kgamma5-5.20.3.tar.xz"