magpie-git
CLEAN
maintainer lightjunction
0 votes
scanned 2026-10-25 00:20:48.567348
Triggered rules
Clean
AI review downgraded a static finding
llm_review
The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds from a legitimate Git source repository, uses standard build流程, and installs only the resulting binary, icons, and metadata; the flagged low-vote/new-upload is a metadata concern, not a security risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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.
PKGBUILD
1
# Maintainer: LIghtJUNction <lightjunction.me@gmail.com>
2
pkgname=magpie-git
3
pkgver=0.1.1463.r0.g2a3d9f5a
4
pkgrel=1
5
pkgdesc="One place to pick every AI coding agent's model: Codex, Claude Code, Gemini CLI and more"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/yetone/magpie"
8
license=('MIT')
9
depends=('glib2' 'gtk3' 'gdk-pixbuf2' 'hicolor-icon-theme' 'libsoup3' 'libx11' 'webkit2gtk-4.1')
10
makedepends=('git' 'go')
11
provides=('magpie')
12
conflicts=('magpie' 'magpie-bin')
13
source=('git+https://github.com/yetone/magpie.git')
14
sha256sums=('SKIP')
15
16
pkgver() {
17
cd "$srcdir/magpie"
18
local _ver
19
_ver=$(git describe --long --tags --match 'v[0-9]*' --always)
20
printf '%s\n' "$_ver" | sed -E 's/^v//; s/([^-]+)-([0-9]+)-g([0-9a-f]+)/\1.r\2.g\3/; s/[^[:alnum:].+_]/./g'
21
}
22
23
build() {
24
cd "$srcdir/magpie"
25
local _version
26
_version=$(git describe --tags --always --match 'v[0-9]*')
27
go build \
28
-tags 'production gtk3' \
29
-trimpath \
30
-ldflags="-s -w -X main.version=${_version}" \
31
-o magpie .
32
}
33
34
check() {
35
cd "$srcdir/magpie"
36
./magpie version >/dev/null
37
}
38
39
package() {
40
cd "$srcdir/magpie"
41
42
install -Dm755 magpie "$pkgdir/usr/bin/magpie"
43
install -Dm644 internal/gui/icon-256.png \
44
"$pkgdir/usr/share/icons/hicolor/256x256/apps/magpie.png"
45
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
46
47
install -dm755 "$pkgdir/usr/share/applications"
48
cat > "$pkgdir/usr/share/applications/magpie.desktop" <<'EOF_DESKTOP'
49
[Desktop Entry]
50
Type=Application
51
Name=magpie
52
Comment=Every agent's model. One place.
53
Exec=/usr/bin/magpie app
54
Icon=magpie
55
Categories=Development;Utility;
56
Terminal=false
57
EOF_DESKTOP
58
}
59
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-25 00:20:48 | Clean | 2 |
| 2026-10-24 23:41:29 | Low | 1 |