archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kde-cli-tools / repos / extra-x86_64 / PKGBUILD
blob570735760817885522e37c7442e744d654524aa9
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.1
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=('135dd6eb6e92d6d29d78be8bb3f6a0d5e05c26b3cfda498b24807c1e28448885'
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/