archrelease: copy trunk to extra-x86_64
[arch-packages.git] / discover / repos / extra-x86_64 / PKGBUILD
blob257647d5b436250211248bc5157c42e18985f139
1 # Maintainer: Antonio Rojas <arojas@archlinux.org> 
3 pkgname=discover
4 pkgver=5.27.5
5 _dirver=$(echo $pkgver | cut -d. -f1-3)
6 pkgrel=1
7 pkgdesc='KDE and Plasma resources management GUI'
8 arch=(x86_64)
9 url='https://kde.org/plasma-desktop/'
10 license=(LGPL)
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')
17 groups=(plasma)
18 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
19 sha256sums=('785f788a16e065d28f6422274e2d5a7bcbe63b0f5814206c50c401a3003ab31b'
20             'SKIP')
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>
26 build() {
27   cmake -B build -S $pkgname-$pkgver \
28     -DCMAKE_INSTALL_LIBEXECDIR=lib \
29     -DBUILD_TESTING=OFF
30   cmake --build build
33 package() {
34   DESTDIR="$pkgdir" cmake --install build