desktop/kdeplasma-applets-networkmanagement/PKGBUILD
2013-09-06 14:21:21 +00:00

33 lines
975 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com
pkgname=('kdeplasma-applets-networkmanagement')
arch=('x86_64')
pkgver=0.9.0.9
pkgrel=2
pkgdesc="KDE SC networkmanager plasmoid"
url="http://plasma.kde.org"
license=('GPL')
depends=('kde-workspace' 'networkmanager>=0.9')
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=("ftp://ftp.kde.org/pub/kde/unstable/networkmanagement/${pkgver}/src/networkmanagement-${pkgver}.tar.bz2")
md5sums=('ce8841d95906ac28dadd8bc3f345c5f2')
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
}