rustlock-git
maintainer Coki91
· 0 votes
· scanned 2026-08-18 00:03:42.021799
LOW
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 90%): 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: Coki91 <coki91 at proton dot me>
2
_pkgname='rustlock'
3
pkgname="${_pkgname}-git"
4
pkgver=r60.7603975
5
pkgrel=1
6
pkgdesc="A high-performance Wayland screen locker written in Rust, inspired by swaylock-effects"
7
arch=('x86_64')
8
url="https://github.com/JorySeverijnse/$_pkgname"
9
license=('GPL-3.0-or-later')
10
depends=('dbus' 'cairo' 'pam' 'gdk-pixbuf2' 'libxkbcommon')
11
makedepends=('clang' 'llvm' 'rust' 'cargo' 'pkg-config')
12
provides=('rustlock')
13
conflicts=('rustlock')
14
source=("${_pkgname}::git+https://github.com/JorySeverijnse/rustlock.git")
15
md5sums=('SKIP')
16
17
pkgver() {
18
cd "${_pkgname}"
19
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20
}
21
22
build() {
23
cd "${_pkgname}"
24
export RUSTFLAGS="-C linker=gcc"
25
export CFLAGS=""
26
export LDFLAGS=""
27
cargo build --release --no-default-features
28
}
29
30
package() {
31
cd "${_pkgname}"
32
install -Dm755 "target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
33
34
# Install PAM configuration
35
install -Dm644 "pam.d/$_pkgname" "$pkgdir/etc/pam.d/$_pkgname"
36
37
# Install documentation
38
install -Dm644 README.md "$pkgdir/usr/share/doc/$_pkgname/README.md"
39
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
40
}
41
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 2 |
| 2026-08-17 00:18:29 | LOW | 2 |
| 2026-08-16 00:03:42 | LOW | 2 |
| 2026-08-15 00:26:13 | LOW | 2 |
| 2026-08-14 00:03:41 | LOW | 2 |
| 2026-08-13 00:17:07 | LOW | 2 |
| 2026-08-12 03:22:23 | LOW | 2 |