lupa-git
LOW
maintainer Azakidev
0 votes
scanned 2026-09-11 17:22:59.755085
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>
2
pkgname=lupa-git
3
pkgver=r47.57ebd29
4
pkgrel=1
5
pkgdesc="A minimalist launcher built on gtk4-layer-shell."
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/Azakidev/lupa"
8
license=('MIT')
9
10
conflicts=('lupa')
11
provides=("lupa=${pkgver}")
12
13
makedepends=('git' 'cargo' 'rust' 'gettext' 'blueprint-compiler' 'pkgconf')
14
options=(!debug !lto)
15
16
depends=(
17
'gtk4' 'gtk4-layer-shell' 'libadwaita'
18
'xdg-utils' 'localsearch'
19
)
20
21
source=("$pkgname::git+$url")
22
sha256sums=('SKIP')
23
24
pkgver() {
25
cd "$pkgname"
26
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
27
}
28
29
prepare() {
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
36
build() {
37
cd "$pkgname"
38
export CARGO_HOME="$SRCDEST/cargo-home"
39
cargo build --frozen --release
40
}
41
42
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-11 17:22:59 | Low | 2 |