diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..eab15f279738 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Antonio Rojas <arojas@archlinux.org> +# Contributor: Martin Kostolný <clearmartin at zoho dot com> + +pkgname=plasma5-applets-network-monitor +pkgver=1.5.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=('19a69fb098ba32b765c3b75d7caa9a7a') + +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 +} |