1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
5 _dirver=$(echo $pkgver | cut -d. -f1-3)
7 pkgdesc='KDE and Plasma resources management GUI'
9 url='https://kde.org/plasma-desktop/'
11 depends=(knewstuff kidletime qt5-graphicaleffects appstream-qt archlinux-appstream-data
12 kirigami2 discount kuserfeedback purpose qt5-webview)
13 makedepends=(extra-cmake-modules plasma-framework packagekit-qt5 flatpak fwupd)
14 optdepends=('packagekit-qt5: to manage packages from Arch Linux repositories (not recommended, use at your own risk)'
15 'flatpak: Flatpak packages support'
16 'fwupd: firmware update support')
18 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
19 sha256sums=('785f788a16e065d28f6422274e2d5a7bcbe63b0f5814206c50c401a3003ab31b'
21 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell <jr@jriddell.org>
22 '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
23 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
24 '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
27 cmake -B build -S $pkgname-$pkgver \
28 -DCMAKE_INSTALL_LIBEXECDIR=lib \
34 DESTDIR="$pkgdir" cmake --install build