desktop/kdeplasma-applets-networkmanagement/PKGBUILD

33 lines
975 B
Bash
Raw Normal View History

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com
2010-05-22 06:25:44 +08:00
pkgname=('kdeplasma-applets-networkmanagement')
arch=('x86_64')
2013-09-06 22:21:21 +08:00
pkgver=0.9.0.9
pkgrel=2
2011-02-26 08:36:18 +08:00
pkgdesc="KDE SC networkmanager plasmoid"
url="http://plasma.kde.org"
2010-05-22 06:25:44 +08:00
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
2011-11-25 07:44:12 +08:00
source=("ftp://ftp.kde.org/pub/kde/unstable/networkmanagement/${pkgver}/src/networkmanagement-${pkgver}.tar.bz2")
2013-09-06 22:21:21 +08:00
md5sums=('ce8841d95906ac28dadd8bc3f345c5f2')
2011-02-26 08:36:18 +08:00
2010-05-22 06:25:44 +08:00
build() {
cd "${srcdir}"
mkdir build
cd build
2011-11-25 07:44:12 +08:00
cmake ../networkmanagement-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
2011-02-26 08:36:18 +08:00
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
2010-05-22 06:25:44 +08:00
}