summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a6f3c53400924b69277ad7a7852107fb3598a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Maintainer: fortime <palfortime@gmail.com>

pkgname=plasma-nm-qtkeychain
pkgver=6.2.2_1
_pkgver=${pkgver//_/-}
pkgrel=1
pkgdesc='Plasma applet written in QML for managing network connections. This fork replaces kwallet with qtkeychain. All secrets should be enrolled again.'
arch=(x86_64)
url='https://kde.org/plasma-desktop/'
license=(GPL-2.0-or-later)
depends=(gcc-libs
         glib2
         glibc
         kcmutils
         kcolorscheme
         kcompletion
         kconfig
         kcoreaddons
         kdbusaddons
         kdeclarative
         ki18n
         kio
         kirigami
         knotifications
         kquickcharts
         ksvg
         kwallet
         kwidgetsaddons
         kwindowsystem
         libnm
         libplasma
         modemmanager-qt
         networkmanager-qt
         plasma-workspace
         prison
         qca-qt6
         qcoro-qt6
         qt6-base
         qt6-declarative
         solid
         qtkeychain-qt6)
makedepends=(extra-cmake-modules
             openconnect
             qt6-webengine
)
optdepends=('openconnect: Cisco AnyConnect VPN plugin'
            'qt6-webengine: Cisco AnyConnect VPN plugin')
provides=(plasma-nm)
conflicts=(plasma-nm)
source=(https://invent.kde.org/jaminfan/plasma-nm/-/archive/v$_pkgver/plasma-nm-v$_pkgver.tar.gz)
sha256sums=('8d7b6c5d382738792af1e7ce7e13d9f805c6932baac94d64d380aff8b44af9ec')

build() {
  [ -d build ] && rm -r build
  cmake -B build  -S plasma-nm-v$_pkgver \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}