blob: 813f81cdda8d351c0baeb4da373ae0ca8fdc461e (
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
33
34
35
|
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
pkgname=plasma6-applets-netspeed
_pkgname=plasma-applet-netspeed-widget
pkgver=3.1
pkgrel=2
pkgdesc='Plasma 6 widget that displays the currently used network bandwidth'
arch=(any)
url=https://github.com/dfaust/plasma-applet-netspeed-widget
license=(GPL-2.0-only)
conflicts=(plasma5-applets-netspeed)
replaces=(plasma5-applets-netspeed)
depends=(
awk
kdeplasma-addons
libplasma
plasma5support
)
makedepends=(
cmake
extra-cmake-modules
)
source=($pkgname-$pkgver.tar.gz::https://github.com/dfaust/plasma-applet-netspeed-widget/archive/refs/tags/v$pkgver.tar.gz)
b2sums=('1f54130cb59b355be2b240d3e01d0b9abea9fd76f8843c190098e15bb630092742ce604c8567fd8952069e165d0ac2853dcf0203fc022de7b54ac3dc1229e8ca')
build() {
cmake -B build -S $_pkgname-$pkgver \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|