mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 06:57:16 +08:00
39 lines
913 B
Bash
39 lines
913 B
Bash
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-workspace' 'libmm-qt5' 'libnm-qt5')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'openconnect' 'mobile-broadband-provider-info')
|
|
optdepends=('mobile-broadband-provider-info: Database of mobile broadband service providers' 'openconnect: Cisco AnyConnect VPN plugin')
|
|
checkdepends=("cmake")
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${PSubVersion}
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
#make test || return 0
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|