# $Id: PKGBUILD 206457 2014-02-26 20:10:01Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Antonio Rojas < nqn1976 @ gmail.com > pkgname=kdeplasma-applets-plasma-nm pkgver=0.9.3.3 pkgrel=1 pkgdesc="Plasma applet written in QML for managing network connections" arch=('i686' 'x86_64') url="https://projects.kde.org/projects/playground/network/plasma-nm" license=('GPL') depends=('kdebase-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-networkmanagement') source=("http://download.kde.org/unstable/plasma-nm/plasma-nm-${pkgver}.tar.xz") md5sums=('5bcb5b76929f116d8ed24ddb1fdf9043') prepare() { mkdir build } build() { cd build cmake ../plasma-nm-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd build make DESTDIR="${pkgdir}" install }