plasma-nethogs-git

LOW
maintainer TheSw1m 0 votes scanned 2026-08-24 11:22:50.619045
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: swim <swim853279614@163.com>
2
3pkgname=plasma-nethogs-git
4_srcname=plasma-nethogs
5pkgver=r6.g88c78a8
6pkgrel=1
7pkgdesc="Plasma 6 widget showing which applications are using the network, fed by an eBPF collector"
8arch=('x86_64' 'aarch64')
9url="https://github.com/swim233/plasma-nethogs"
10license=('GPL-2.0-or-later')
11depends=(
12 'glibc'
13 'kcmutils'
14 'kirigami'
15 'ksvg'
16 'libbpf'
17 'libplasma'
18 'libstdc++'
19 # plasmashell, which hosts the applet. No file in the package points at it,
20 # so namcap reports it as possibly unneeded; it is not.
21 'plasma-workspace'
22 'plasma5support'
23 'qt6-base'
24 'qt6-declarative'
25)
26makedepends=(
27 'bpf'
28 'clang'
29 'cmake'
30 'extra-cmake-modules'
31 'git'
32 'kpackage'
33 'ninja'
34)
35provides=("${pkgname%-git}")
36conflicts=("${pkgname%-git}")
37install="${pkgname%-git}.install"
38source=("${_srcname}::git+${url}.git")
39sha256sums=('SKIP')
40
41pkgver() {
42 cd "$_srcname"
43 printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
44}
45
46build() {
47 # vmlinux.h is generated from /sys/kernel/btf/vmlinux, so the build machine's
48 # kernel needs CONFIG_DEBUG_INFO_BTF=y. devtools chroots mount /sys, so a
49 # clean-chroot build works. CO-RE resolves the relocations against whatever
50 # kernel is running at load time, so the result is not tied to this one.
51 cmake -S "$_srcname" -B build -G Ninja \
52 -DCMAKE_BUILD_TYPE=None \
53 -DCMAKE_INSTALL_PREFIX=/usr \
54 -DBUILD_TESTING=OFF
55 cmake --build build
56}
57
58package() {
59 DESTDIR="$pkgdir" cmake --install build
60 install -Dm644 "$_srcname/README.md" \
61 "$pkgdir/usr/share/doc/${pkgname%-git}/README.md"
62}
63

Scan history

Scanned at (UTC)SeverityRules
2026-08-24 11:22:50 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion