# $Id: PKGBUILD 105813 2011-01-12 00:25:58Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Jakub Schmidtke pkgname=kdeplasma-applets-networkmanagement epoch=1 pkgver=git20110531 _commit=997e26d85cb76de9adb18f7ee8894556e3fa2653 pkgrel=1 pkgdesc="KDE control panel and widget network connections" arch=('i686' 'x86_64') url="http://www.kde.org/" license=('GPL') depends=('kdebase-workspace' 'networkmanager') makedepends=('cmake' 'python2' 'automoc4' 'mobile-broadband-provider-info') optdepends=('mobile-broadband-provider-info: allow to add new mobile connection') install=${pkgname}.install source=("${pkgname}-${pkgver}.tar.gz"::"http://quickgit.kde.org/?p=networkmanagement.git&a=snapshot&h=${_commit}") md5sums=('0ac02acfc3e045c3a584301e3bc05994') build() { cd "${srcdir}" mkdir build cd build cmake ../networkmanagement \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d make } package() { cd ${srcdir}/build make DESTDIR=${pkgdir} install }