mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:57:13 +08:00
0003c19031
use [@] to get the full array entries, without that only the first element was retrieved
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/plasma-nm
|
|
source ../plasma.conf
|
|
|
|
pkgname=plasma-nm
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc='Plasma applet written in QML for managing network connections'
|
|
arch=('x86_64')
|
|
url="https://projects.kde.org/projects/playground/network/plasma-nm"
|
|
license=('GPL2')
|
|
depends=('plasma-framework' 'modemmanager-qt' 'networkmanager-qt' 'qca-qt5' 'qt5-tools')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'openconnect' 'mobile-broadband-provider-info' 'python3'
|
|
'kdelibs4support')
|
|
optdepends=('mobile-broadband-provider-info: Database of mobile broadband service providers'
|
|
'openconnect: Cisco AnyConnect VPN plugin')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
'SKIP' )
|
|
validpgpkeys=(${Pvalidpgpkeys[@]})
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${PSubVersion}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|