db-move: moved xdg-desktop-portal-gnome from [testing] to [extra] (x86_64)
[arch-packages.git] / polkit-kde-agent / trunk / PKGBUILD
blobc1e4c5af2ed76c92d7ca496ea8f81de10d35b9e6
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=polkit-kde-agent
6 pkgver=5.27.4.1
7 _dirver=$(echo $pkgver | cut -d. -f1-3)
8 pkgrel=1
9 pkgdesc='Daemon providing a polkit authentication UI for KDE'
10 arch=(x86_64)
11 url='https://kde.org/plasma-desktop/'
12 license=(LGPL)
13 depends=(kiconthemes kdbusaddons kcrash)
14 makedepends=(extra-cmake-modules kdoctools)
15 groups=(plasma)
16 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-1-$pkgver.tar.xz{,.sig})
17 sha256sums=('26e795f6016e6e64e3fd4518b2a49e8df66716fab073784d943a3b7782ce70c6'
18             'SKIP')
19 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <jr@jriddell.org>
20               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
21               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson@kde.org>
22               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
24 build() {
25   cmake -B build -S $pkgname-1-$pkgver \
26     -DCMAKE_INSTALL_LIBEXECDIR=lib \
27     -DBUILD_TESTING=OFF
28   cmake --build build
31 package() {
32   DESTDIR="$pkgdir" cmake --install build