archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kde-cli-tools / trunk / PKGBUILD
blob2d8e26a5217c2cf5a20da71210e8a4b4e2937f3d
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.3
7 pkgrel=1
8 pkgdesc='Tools based on KDE Frameworks 5 to better interact with the system'
9 arch=(x86_64)
10 url='https://kde.org/plasma-desktop/'
11 license=(LGPL)
12 depends=(kdesu kcmutils kactivities)
13 makedepends=(extra-cmake-modules kdoctools plasma-workspace)
14 optdepends=('plasma-workspace: for kcmshell5')
15 groups=(plasma)
16 source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
17 sha256sums=('a1a20176752b0d3e9af7ae063d5077855c0438ec4dc280dc85f0bb34f6f93aa4'
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-$pkgver \
26     -DCMAKE_INSTALL_LIBEXECDIR=lib \
27     -DBUILD_TESTING=OFF
28   cmake --build build
31 package() {
32   DESTDIR="$pkgdir" cmake --install build
34   ln -s /usr/lib/kf5/kdesu "$pkgdir"/usr/bin/