blob: dd94a8f8fb0823de11839d76ecba0bc64ba5ffed (
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
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
pkgname=plasma6-applets-resources-monitor
_name=plasma-applet-resources-monitor
pkgver=3.5.0
pkgrel=1
pkgdesc='Plasmoid for monitoring CPU, memory, network traffic, GPUs and disks IO'
arch=(any)
url=https://github.com/orblazer/plasma-applet-resources-monitor
license=(GPL-3.0-or-later)
depends=(
kitemmodels
kquickcharts
libksysguard
libplasma
plasma5support
)
optdepends=(
"kdeplasma-addons: to support easier click action"
)
makedepends=(
cmake
extra-cmake-modules
)
conflicts=(
plasma5-applets-resources-monitor
plasma5-applets-resources-monitor-git
plasma6-applets-resources-monitor-git
)
source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
b2sums=('e99e0afa5839299227eb58626ea72ece8933afba2ac2e8d1888627e163a1f1b5205a973d181c8babb9e44699ae7547ee60c776be90978bfcd2f0acd0a3c09d63')
build() {
local cmake_options=(
-B build
-S $_name-$pkgver
-W no-author
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
)
cmake "${cmake_options[@]}"
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|