blob: 371c7ffe2280541eb914a469edf4ff7bf133def5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Martin Kostolný <clearmartin at zoho dot com>
pkgname=plasma5-applets-network-monitor
pkgver=1.7.0
pkgrel=1
pkgdesc="Plasma 5 applet that monitors network speed of currently active connections"
arch=(any)
url="http://kde-apps.org/content/show.php/Network+Monitor?content=169377"
license=(GPL)
depends=(plasma-nm qt5-graphicaleffects)
makedepends=(extra-cmake-modules)
source=("https://github.com/kotelnik/plasma-applet-network-monitor/archive/v$pkgver.tar.gz")
md5sums=('9edc87472b4b161bf6a9074039494a74')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../plasma-applet-network-monitor-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|