1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
7 _dirver=$(echo $pkgver | cut -d. -f1-3)
9 pkgdesc='Tools based on KDE Frameworks 5 to better interact with the system'
11 url='https://kde.org/plasma-desktop/'
13 depends=(kdesu kcmutils kactivities kparts)
14 makedepends=(extra-cmake-modules kdoctools plasma-workspace)
15 optdepends=('plasma-workspace: for kcmshell5')
17 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
18 sha256sums=('135dd6eb6e92d6d29d78be8bb3f6a0d5e05c26b3cfda498b24807c1e28448885'
20 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell <jr@jriddell.org>
21 '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
22 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
23 '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
26 cmake -B build -S $pkgname-$pkgver \
27 -DCMAKE_INSTALL_LIBEXECDIR=lib \
33 DESTDIR="$pkgdir" cmake --install build
35 ln -s /usr/lib/kf5/kdesu "$pkgdir"/usr/bin/