mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-27 13:32:17 +08:00
36 lines
1004 B
Bash
36 lines
1004 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: FranzMari <franzmari[at]chakra-project[dot]it>
|
|
|
|
pkgname=kdeplasma-applets-plasma-nm
|
|
_pkgname=plasma-nm
|
|
pkgver=0.9.3.1
|
|
pkgrel=2
|
|
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=('kde-workspace' 'libnm-qt' 'openconnect')
|
|
makedepends=('cmake' 'automoc4')
|
|
conflicts=('kdeplasma-applets-plasma-nm-git' 'kdeplasma-applets-networkmanagement')
|
|
screenshot="http://grulja.files.wordpress.com/2013/06/nm1.png?w=268&h=300"
|
|
source="http://download.kde.org/unstable/${_pkgname}/${_pkgname}-${pkgver}.tar.xz"
|
|
md5sums=('c6ce9cd8523ec0f99fe87dea8b76a02f')
|
|
|
|
build() {
|
|
cd $srcdir/${_pkgname}-${pkgver}
|
|
mkdir build
|
|
cd build
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/${_pkgname}-${pkgver}
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|