opencode-desktop-launcher

LOW
maintainer annguyenfoss 0 votes scanned 2026-10-27 05:46:44.858863
View on AUR
Why flagged

The package installs static assets (icon, desktop file, licenses) and a launcher script from a trusted GitHub repository; the actual AppImage is downloaded and verified by the launcher at runtime, outside of pacman's control, but no untrusted code is executed during package installation.

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 installs static assets (icon, desktop file, licenses) and a launcher script from a trusted GitHub repository; the actual AppImage is downloaded and verified by the launcher at runtime, outside of pacman's control, but no untrusted code is executed during package installation.

PKGBUILD

1# Maintainer: An Nguyen <an@linux.com>
2
3pkgname=opencode-desktop-launcher
4pkgver=1.0.0
5pkgrel=1
6pkgdesc='Launcher and desktop integration for the self-updating OpenCode AppImage'
7arch=('x86_64')
8url='https://opencode.ai'
9license=('0BSD' 'MIT')
10depends=(
11 'alsa-lib'
12 'at-spi2-core'
13 'bash'
14 'cairo'
15 'coreutils'
16 'curl'
17 'dbus'
18 'desktop-file-utils'
19 'expat'
20 'fuse2'
21 'glib2'
22 'glibc'
23 'gtk3'
24 'hicolor-icon-theme'
25 'jq'
26 'libcups'
27 'libgcc'
28 'libsecret'
29 'libx11'
30 'libxcb'
31 'libxcomposite'
32 'libxdamage'
33 'libxext'
34 'libxfixes'
35 'libxkbcommon'
36 'libxrandr'
37 'mesa'
38 'nspr'
39 'nss'
40 'pango'
41 'ripgrep'
42 'systemd-libs'
43 'util-linux'
44 'xdg-utils'
45 'zlib'
46)
47optdepends=('git: Git repositories and worktrees')
48provides=('opencode-desktop')
49conflicts=('opencode-desktop' 'opencode-desktop-bin' 'opencode-desktop-appimage')
50
51# Pin the official icon and its license. The application itself is downloaded
52# and checksum-verified by the launcher on first run, outside pacman's files.
53_assets_commit=74f8d4860f49c563909e6b039b0cc8b454ebce72
54_icon="opencode-desktop-icon-${_assets_commit}.png"
55source=(
56 "${_icon}::https://raw.githubusercontent.com/anomalyco/opencode/${_assets_commit}/packages/desktop/icons/prod/128x128@2x.png"
57 "LICENSE-opencode::https://raw.githubusercontent.com/anomalyco/opencode/${_assets_commit}/LICENSE"
58 'opencode-desktop'
59 'ai.opencode.desktop.desktop'
60 'LICENSE'
61 'README.md'
62)
63sha256sums=(
64 '37e3eb8046e0bffdd1f45b18badf63866334e1604810cf449f6b2f0985c8f0cd'
65 '625f0f619133f89bbbb2abe37369613dfa1885eba1e50d02170deb62bb42cb6b'
66 '86c8cc16177b41f78f394dbb31c62fb1f8eddfd3ac874ee5eff8f48862e844fb'
67 '9af76270d9beb9932c298a67c0897e1564e83f1a9a794446de1789784c8e4351'
68 '44d6076d051b070961df2ec0b255522bd75ef9fbf111f5d75d86fe567d9d364d'
69 '986eb84019d8b90be46f4c3cf3bee08e6f682ab0e770cc6f57a53b51c5dec7ba'
70)
71
72package() {
73 install -Dm755 "${srcdir}/opencode-desktop" \
74 "${pkgdir}/usr/bin/opencode-desktop"
75 install -Dm644 "${srcdir}/ai.opencode.desktop.desktop" \
76 "${pkgdir}/usr/share/applications/ai.opencode.desktop.desktop"
77 install -Dm644 "${srcdir}/${_icon}" \
78 "${pkgdir}/usr/share/icons/hicolor/256x256/apps/ai.opencode.desktop.png"
79 install -Dm644 "${srcdir}/LICENSE" \
80 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
81 install -Dm644 "${srcdir}/LICENSE-opencode" \
82 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-opencode"
83 install -Dm644 "${srcdir}/README.md" \
84 "${pkgdir}/usr/share/doc/${pkgname}/README.md"
85}
86

Scan history

Scanned at (UTC)SeverityRules
2026-10-27 05:46:44 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