# $Id: PKGBUILD 105813 2011-01-12 00:25:58Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Jakub Schmidtke pkgname=kdeplasma-applets-networkmanagement epoch=1 pkgver=0.9.0.3 pkgrel=1 pkgdesc="KDE control panel and widget network connections" arch=('i686' 'x86_64') url='https://projects.kde.org/projects/extragear/base/networkmanagement' license=('GPL') depends=('kdebase-workspace' 'networkmanager') makedepends=('cmake' 'python2' 'automoc4' 'mobile-broadband-provider-info' 'openconnect') optdepends=('mobile-broadband-provider-info: Database of mobile broadband service providers' 'openconnect: Cisco AnyConnect compatible VPN client') install=${pkgname}.install source=("http://download.kde.org/unstable/networkmanagement/${pkgver}/src/networkmanagement-${pkgver}.tar.bz2") sha256sums=('d8ad2dd89521dbe21e17131ef24bd7d792e90a150e15f0fbdab1bfa4a46e00f7') build() { cd "${srcdir}" mkdir build cd build cmake ../networkmanagement-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }