summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bbe374d8747d448c1996bb67de4d2ecfc7a4a747 (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
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>

pkgname=plasma5-applets-bandwidth-monitor
pkgver=2.0
pkgrel=3
pkgdesc='Plasma 5 applet that displays the currently used network bandwidth.'
arch=('any')
url='https://gitlab.com/Scrumplex/plasma-applet-bandwidth-monitor'
license=('GPL2')

depends=("plasma-workspace")
makedepends=('git' 'cmake' 'extra-cmake-modules')

source=("https://gitlab.com/Scrumplex/plasma-applet-bandwidth-monitor/-/archive/${pkgver}/plasma-applet-bandwidth-monitor-${pkgver}.tar.gz")
sha512sums=("74adf796feede3e40feaedd982e7bf4f7f625701ca92c0edc1c5bc388009c73bb2f382fbec09644bbc58fa147c9e67ea455f4c30e099539370802a4d75ae1afd")


build() {
    cd "plasma-applet-bandwidth-monitor-${pkgver}"

    cmake -DCMAKE_INSTALL_PREFIX=/usr 
    make
}

package() {
    cd "plasma-applet-bandwidth-monitor-${pkgver}"

    make DESTDIR="$pkgdir/" install
}