archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kde-cli-tools / trunk / PKGBUILD
blob91f715473b9c2ec3b1f0e418d8c4a3b44df6d5de
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=kde-cli-tools
6 pkgver=5.27.5
7 _dirver=$(echo $pkgver | cut -d. -f1-3)
8 pkgrel=1
9 pkgdesc='Tools based on KDE Frameworks 5 to better interact with the system'
10 arch=(x86_64)
11 url='https://kde.org/plasma-desktop/'
12 license=(LGPL)
13 depends=(kdesu kcmutils kactivities kparts)
14 makedepends=(extra-cmake-modules kdoctools plasma-workspace)
15 optdepends=('plasma-workspace: for kcmshell5')
16 groups=(plasma)
17 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
18 sha256sums=('ed745637701210102e0e2e1354823e4e0f2bf8b7d4778cf5ed9c104fb57cef67'
19             'SKIP')
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>
25 build() {
26   cmake -B build -S $pkgname-$pkgver \
27     -DCMAKE_INSTALL_LIBEXECDIR=lib \
28     -DBUILD_TESTING=OFF
29   cmake --build build
32 package() {
33   DESTDIR="$pkgdir" cmake --install build
35   ln -s /usr/lib/kf5/kdesu "$pkgdir"/usr/bin/