desktop/kdeplasma-applets-plasma-nm/PKGBUILD
2015-04-08 14:21:58 +00:00

34 lines
1.1 KiB
Bash

pkgname=kdeplasma-applets-plasma-nm
_pkgname=plasma-nm
pkgver=0.9.3.6
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=('kde-workspace' 'libnm-qt')
makedepends=('cmake' 'automoc4' 'openconnect' 'mobile-broadband-provider-info')
optdepends=('mobile-broadband-provider-info: Database of mobile broadband service providers'
'openconnect: Cisco AnyConnect VPN plugin')
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/stable/${_pkgname}/${_pkgname}-${pkgver}.tar.xz")
sha512sums=('50f3e5020f4437d710709a301b981f888898c293a71dff3aee809255207a0f97caf5d3811b453da2338df93238ef33a79e85cb3598ee38d8a41255d8a572e256')
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
}