openidea-git

LOW
maintainer akurei 0 votes scanned 2026-11-02 20:03:06.122793
View on AUR
Why flagged

The package builds from the project's own Git repository, uses standard build tools, and installs only compiled binaries and static assets; the low severity is due to few votes and recent upload, not malicious behavior.

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, uses standard build tools, and installs only compiled binaries and static assets; the low severity is due to few votes and recent upload, not malicious behavior.

PKGBUILD

1# Maintainer: <dev@akurei.me>
2
3pkgname=openidea-git
4pkgver=0.1.34.r3.gc0c56da
5pkgrel=1
6pkgdesc="Open-source IntelliJ IDEA-style IDE rebuilt in Rust"
7arch=('x86_64' 'aarch64')
8url="https://github.com/l0ng-ai/openidea"
9license=('Apache-2.0')
10depends=(
11 'cairo'
12 'dbus'
13 'gcc-libs'
14 'gdk-pixbuf2'
15 'glib2'
16 'glibc'
17 'gtk3'
18 'hicolor-icon-theme'
19 'libsoup3'
20 'webkit2gtk-4.1'
21)
22makedepends=(
23 'cargo'
24 'git'
25 'nodejs'
26 'pnpm'
27 'pkgconf'
28)
29provides=('openidea')
30conflicts=('openidea' 'openidea-bin')
31# Cargo.toml already enables release LTO; a debug package of this binary is huge.
32options=('!lto' '!debug')
33source=(
34 "openidea::git+https://github.com/l0ng-ai/openidea.git"
35 "openidea.desktop"
36)
37sha256sums=(
38 'SKIP'
39 '63bb00df1323f81687c3cf2fb310f89e418d20baf1c659fcb4b7e1a070013764'
40)
41
42pkgver() {
43 cd openidea
44 git describe --long --tags --abbrev=7 2>/dev/null \
45 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' \
46 || printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
47}
48
49prepare() {
50 cd openidea
51
52 # Distro package: ship the unpackaged binary, skip updater bundles.
53 sed -i 's/"createUpdaterArtifacts": true/"createUpdaterArtifacts": false/' src-tauri/tauri.conf.json
54
55 export CARGO_HOME="${srcdir}/cargo-home"
56 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
57
58 pnpm install --frozen-lockfile --store-dir "${srcdir}/pnpm-store"
59}
60
61build() {
62 cd openidea
63
64 export CARGO_HOME="${srcdir}/cargo-home"
65 export CI=true
66
67 # beforeBuildCommand runs `pnpm build` (tsc + vite), then cargo build.
68 # Extra args after `--` are forwarded to cargo. Do not put `--` before
69 # `build`: pnpm 12 forwards it and tauri then rejects `build` as an arg.
70 pnpm run tauri build --no-bundle -- --locked --offline
71}
72
73package() {
74 install -Dm755 "${srcdir}/openidea/target/release/openidea" "${pkgdir}/usr/bin/openidea"
75 install -Dm644 "${srcdir}/openidea.desktop" "${pkgdir}/usr/share/applications/openidea.desktop"
76
77 local icons="${srcdir}/openidea/src-tauri/icons"
78 install -Dm644 "${icons}/32x32.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/openidea.png"
79 install -Dm644 "${icons}/128x128.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/openidea.png"
80 install -Dm644 "${icons}/128x128@2x.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/openidea.png"
81 install -Dm644 "${icons}/icon.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/openidea.png"
82 install -Dm644 "${icons}/source/openidea.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/openidea.svg"
83
84 install -Dm644 "${srcdir}/openidea/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
85}
86

Scan history

Scanned at (UTC)SeverityRules
2026-11-02 20:03:06 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