With a quick look through of plasma-nm's CMakeList.txt, I don't think you need to do anything other than rebuild plasma-nm with openconnect installed.
You would need to have the source directory for kde/ saved locally from a mirror (I prefer to keep the entire -current tree mirrored to my system using Alien Bob's
mirror-slackware-current.sh script)and then go into the source/kde/kde directory and (as root) run:
Code:
sh kde.SlackBuild plasma:plasma-nm
and then
upgradepkg --reinstall the new package (you would need the --reinstall option unless you change the build number under build/plasma-nm from
1 to
2).
If you don't want to mirror everything (since it takes a lot of space), I think you'd need the following, at a minimum:
Code:
kde
|-- build
| `-- plasma-nm
|-- cmake
| `-- cmake
|-- kde.SlackBuild
|-- kde.options
|-- modules
| |-- all-packaged-applications
| `-- plasma
|-- noarch
|-- nomake
|-- nostrip
|-- package-blacklist
|-- slack-desc
| `-- plasma-nm
`-- src
`-- plasma
|-- plasma-nm-5.21.0.tar.xz
`-- plasma-nm-5.21.0.tar.xz.sig