recoil16ctl-git
LOW
maintainer amad3v
0 votes
scanned 2026-10-06 00:13:36.889724
Why flagged
The package builds from a git source that defaults to the maintainer's GitHub repo, which is normal for AUR packages; the SKIP'd checksum is acceptable for git sources, and no untrusted executables are downloaded or executed.
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.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a git source that defaults to the maintainer's GitHub repo, which is normal for AUR packages; the SKIP'd checksum is acceptable for git sources, and no untrusted executables are downloaded or executed.
PKGBUILD
1
# Maintainer: amad3v
2
# Local build from a checkout: RECOIL16CTL_GIT=file://$PWD makepkg -si
3
4
pkgname=recoil16ctl-git
5
_srcname=recoil16ctl
6
pkgver=1.4.0.r1.g5a401b1
7
pkgrel=1
8
pkgdesc="Control tool for the PCSpecialist Recoil 16 AMD (TUXEDO Stellaris 16 Gen7): charge modes, battery health, lightbar, power profiles, Fn/Super lock, screen rotation, NVIDIA GPU power and offload, battery draw"
9
arch=('x86_64')
10
url="https://github.com/amad3v/recoil16ctl"
11
license=('GPL-2.0-only')
12
depends=('glibc' 'libgcc')
13
makedepends=('git' 'cargo')
14
optdepends=('recoil16-dkms: the drivers recoil16ctl controls'
15
'libkscreen: kscreen-doctor for recoil16ctl screen and the panel line of power (KDE Plasma)'
16
'mesa-utils: eglinfo for recoil16ctl gpu test'
17
'vulkan-tools: vulkaninfo for recoil16ctl gpu test')
18
provides=('recoil16ctl')
19
conflicts=('recoil16ctl')
20
install=recoil16ctl.install
21
# recoil16ctl is built stripped (Cargo.toml profile), so a -debug package would be empty
22
options=('!debug')
23
source=("$_srcname::git+${RECOIL16CTL_GIT:-https://github.com/amad3v/recoil16ctl.git}")
24
sha256sums=('SKIP')
25
26
pkgver() {
27
cd "$_srcname" || return
28
# release tags (v1.0.0) give 1.0.0.r<commits since tag>.g<hash>
29
if git describe --long --tags --abbrev=7 >/dev/null 2>&1; then
30
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
31
else
32
printf '%s.r%s.g%s' "$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml)" \
33
"$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
34
fi
35
}
36
37
prepare() {
38
cd "$_srcname" || return
39
export RUSTUP_TOOLCHAIN=stable
40
cargo fetch --locked --target "$(rustc --print host-tuple)"
41
}
42
43
build() {
44
cd "$_srcname" || return
45
export RUSTUP_TOOLCHAIN=stable
46
export CARGO_TARGET_DIR=target
47
cargo build --frozen --release
48
}
49
50
check() {
51
cd "$_srcname" || return
52
export RUSTUP_TOOLCHAIN=stable
53
export CARGO_TARGET_DIR=target
54
cargo test --frozen
55
}
56
57
package() {
58
cd "$_srcname" || return
59
local ctl=target/release/recoil16ctl
60
61
# shellcheck disable=SC2154 # pkgdir is set by makepkg for package()
62
install -Dm755 "$ctl" "$pkgdir/usr/bin/recoil16ctl"
63
install -d "$pkgdir/usr/share/bash-completion/completions" \
64
"$pkgdir/usr/share/zsh/site-functions" \
65
"$pkgdir/usr/share/fish/vendor_completions.d"
66
"$ctl" completions bash >"$pkgdir/usr/share/bash-completion/completions/recoil16ctl"
67
"$ctl" completions zsh >"$pkgdir/usr/share/zsh/site-functions/_recoil16ctl"
68
"$ctl" completions fish >"$pkgdir/usr/share/fish/vendor_completions.d/recoil16ctl.fish"
69
"$ctl" man "$pkgdir/usr/share/man/man1"
70
71
# KDE: default global shortcut Sc -> recoil16ctl screen rotate
72
install -Dm644 data/kglobalaccel/recoil16.desktop -t "$pkgdir/usr/share/kglobalaccel/"
73
74
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
75
}
76
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 23:40:58 | Low | 1 |