sweetidle-git

LOW
maintainer naurissteins 0 votes scanned 2026-10-29 09:52:05.005162
View on AUR
Why flagged

The package builds from the project's own Git repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.

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 the project's own Git repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.

PKGBUILD

1# Maintainer: Nauris Steins <me@naurissteins.com>
2pkgname=sweetidle-git
3_repo=sweetidle
4pkgver=0.1.0.r1.g0440ffe
5pkgrel=1
6pkgdesc="Lightweight idle management daemon for Wayland compositors (latest git)"
7arch=('x86_64')
8url="https://github.com/naurissteins/sweetidle"
9license=('GPL-3.0-or-later')
10provides=('sweetidle')
11conflicts=('sweetidle')
12options=('!debug')
13depends=('glibc' 'libgcc')
14makedepends=('cargo' 'git')
15optdepends=('systemd: logind sleep/lock hooks and the bundled user service')
16source=("git+$url.git")
17sha256sums=('SKIP')
18
19pkgver() {
20 cd "$srcdir/$_repo"
21 git describe --long --tags --abbrev=7 | sed 's/^v//; s/-/.r/; s/-/./'
22}
23
24prepare() {
25 cd "$srcdir/$_repo"
26 export RUSTUP_TOOLCHAIN=stable
27 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
28}
29
30build() {
31 cd "$srcdir/$_repo"
32 export RUSTUP_TOOLCHAIN=stable
33 export CARGO_TARGET_DIR=target
34 cargo build --frozen --release
35}
36
37check() {
38 cd "$srcdir/$_repo"
39 export RUSTUP_TOOLCHAIN=stable
40 cargo test --frozen
41}
42
43package() {
44 cd "$srcdir/$_repo"
45
46 install -Dm755 target/release/sweetidle "$pkgdir/usr/bin/sweetidle"
47 install -Dm644 systemd/sweetidle.service "$pkgdir/usr/lib/systemd/user/sweetidle.service"
48 install -Dm644 man/sweetidle.1 "$pkgdir/usr/share/man/man1/sweetidle.1"
49 install -Dm644 config/example.toml "$pkgdir/usr/share/doc/sweetidle/example.toml"
50 install -Dm644 README.md "$pkgdir/usr/share/doc/sweetidle/README.md"
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-10-29 09:52:05 Low 2

Report a package

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

0 / 4000
Your suggestion