lupa-git

LOW
maintainer Azakidev 0 votes scanned 2026-09-11 17:22:59.755085
View on AUR
Why flagged

The package builds from source hosted on the project's official GitHub repository; 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 source hosted on the project's official GitHub repository; the low severity is due to few votes and recent upload, not malicious content.

PKGBUILD

1# Maintainer: FatDawlf <zazaguichi@outlook.com>
2pkgname=lupa-git
3pkgver=r47.57ebd29
4pkgrel=1
5pkgdesc="A minimalist launcher built on gtk4-layer-shell."
6arch=('x86_64' 'aarch64')
7url="https://github.com/Azakidev/lupa"
8license=('MIT')
9
10conflicts=('lupa')
11provides=("lupa=${pkgver}")
12
13makedepends=('git' 'cargo' 'rust' 'gettext' 'blueprint-compiler' 'pkgconf')
14options=(!debug !lto)
15
16depends=(
17 'gtk4' 'gtk4-layer-shell' 'libadwaita'
18 'xdg-utils' 'localsearch'
19)
20
21source=("$pkgname::git+$url")
22sha256sums=('SKIP')
23
24pkgver() {
25 cd "$pkgname"
26 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
27}
28
29prepare() {
30 cd "$pkgname"
31 export RUSTFLAGS="--remap-path-prefix=$srcdir=/"
32 export CARGO_HOME="$SRCDEST/cargo-home"
33 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
34}
35
36build() {
37 cd "$pkgname"
38 export CARGO_HOME="$SRCDEST/cargo-home"
39 cargo build --frozen --release
40}
41
42package() {
43 cd "$pkgname"
44
45 local binname="${pkgname//-git/}"
46
47 install -Dm755 "target/release/$binname" "$pkgdir/usr/bin/$binname"
48 install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
49
50 local out_dir
51 out_dir=$(find target/release/build/ -maxdepth 2 -type d -name "out" -exec test -d "{}/locale" \; -print -quit)
52
53 if [ -d "$out_dir/locale" ]; then
54 for mo in "$out_dir"/locale/*/LC_MESSAGES/*.mo; do
55 if [ -f "$mo" ]; then
56 local lang
57 lang=$(echo "$mo" | awk -F'/locale/' '{print $2}' | cut -d'/' -f1)
58 install -Dm644 "$mo" "$pkgdir/usr/share/locale/$lang/LC_MESSAGES/${binname}.mo"
59 fi
60 done
61 fi
62}
63

Scan history

Scanned at (UTC)SeverityRules
2026-09-11 17:22:59 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