aboutsummaryrefslogblamecommitdiffstats
path: root/community/polkit-kde-agent-1/APKBUILD
blob: d3b3540576f00f849e7d787500cb903f00280fa4 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        
                                                             
                                      

                                            

                                                   
                        
                                                                                                                                                                          
                                                                                         


                           
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                               
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=polkit-kde-agent-1
pkgver=5.20.4
pkgrel=0
pkgdesc="Daemon providing a polkit authentication UI for KDE"
# armhf blocked by extra-cmake-modules
# mips, mips64, s390x blocked by polkit-qt-1
arch="all !armhf !s390x !mips !mips64"
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0-or-later"
depends="polkit-elogind"
makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kwindowsystem-dev kdbusaddons-dev kwidgetsaddons-dev kcoreaddons-dev kcrash-dev kiconthemes-dev polkit-qt-1-dev"
source="https://download.kde.org/stable/plasma/$pkgver/polkit-kde-agent-1-$pkgver.tar.xz"
subpackages="$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="4b04a25eb0b8d8b965c1164853eea9e3b336418fd795e302154167e87d9bbc5f7982c54d20d603b1426e19ccbcb8faae75abb4275d16fa3b5f6d11e5207e0cd2  polkit-kde-agent-1-5.20.4.tar.xz"