plasma6-applets-battery-chargelimit
LOW
maintainer uselessfire
0 votes
scanned 2026-10-08 18:09:39.829306
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: Anton Karasev <uselessfire at gmail dot com>
2
3
pkgname=plasma6-applets-battery-chargelimit
4
_repo=plasma-battery-chargelimit
5
_id=org.kde.plasma.battery.chargelimit
6
pkgver=6.7.5.1
7
pkgrel=1
8
pkgdesc='The stock Plasma 6 Power & Battery applet with a switch for the battery charge limit'
9
arch=(any)
10
url="https://github.com/uselessfire/$_repo"
11
license=('LGPL-2.0-or-later AND GPL-2.0-or-later')
12
# The owners of the QML modules the applet imports, and UPower, which switches the limit.
13
# The applet is taken from this Plasma version, so it needs at least that one; there is
14
# no upper bound not to hold Plasma updates back, a new Plasma may need a new release.
15
depends=(
16
kcmutils
17
kconfig
18
kcoreaddons
19
kirigami
20
kitemmodels
21
knotifications
22
ksvg
23
kwindowsystem
24
libplasma
25
'plasma-workspace>=6.7'
26
'powerdevil>=6.7'
27
qt6-declarative
28
'upower>=1.90.10'
29
)
30
install=$pkgname.install
31
source=("$_repo-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
32
# Filled in by updpkgsums when the package is released; the copy in the project
33
# repository has SKIP.
34
sha256sums=('a88e6ce3036ebd4373a8c4c74e4edf9bedc1cef0f94a251054a4a5a0c371d667')
35
36
package() {
37
local plasmoid="$pkgdir/usr/share/plasma/plasmoids/$_id"
38
install -d "${plasmoid%/*}" "$pkgdir/usr/share/locale"
39
cp -rT --no-preserve=mode "$_repo-$pkgver/package" "$plasmoid"
40
# Moved, not copied: Plasma prefers the catalogs in the plasmoid, which would bypass
41
# NoExtract in pacman.conf, while /usr/share/locale is where KDE packages keep theirs
42
mv "$plasmoid/contents/locale"/* "$pkgdir/usr/share/locale/"
43
rmdir "$plasmoid/contents/locale"
44
}
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 18:09:39 | Low | 1 |