desktop/kdeplasma-applets-plasma-nm/PKGBUILD
2014-02-28 15:37:19 +00:00

33 lines
968 B
Bash

# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
pkgname=kdeplasma-applets-plasma-nm
_pkgname=plasma-nm
pkgver=0.9.3.3
pkgrel=1
pkgdesc='Plasma applet written in QML for managing network connections'
arch=('x86_64')
url='https://projects.kde.org/projects/playground/network/plasma-nm'
license=('GPL2')
depends=('kde-workspace' 'libnm-qt' 'openconnect' 'modemmanager')
makedepends=('cmake' 'automoc4')
conflicts=('kdeplasma-applets-plasma-nm-git' 'kdeplasma-applets-networkmanagement')
screenshot="http://grulja.files.wordpress.com/2013/06/nm1.png?w=268&h=300"
source="http://download.kde.org/unstable/${_pkgname}/${_pkgname}-${pkgver}.tar.xz"
md5sums=('5bcb5b76929f116d8ed24ddb1fdf9043')
build() {
cd $srcdir/${_pkgname}-${pkgver}
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd $srcdir/${_pkgname}-${pkgver}
cd build
make DESTDIR="${pkgdir}" install
}