omo-desktop-bin

LOW
maintainer minpeter 0 votes scanned 2026-08-31 01:44:31.582560
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

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.

PKGBUILD

1# Maintainer: OmO Desktop maintainers <minpeter@users.noreply.github.com>
2
3pkgname=omo-desktop-bin
4pkgver=0.0.33
5pkgrel=1
6pkgdesc='Desktop control surface for local coding agents'
7arch=('x86_64')
8url='https://github.com/minpeter/omo-desktop-releases'
9license=('MIT')
10depends=(
11 'alsa-lib'
12 'at-spi2-core'
13 'cairo'
14 'dbus'
15 'expat'
16 'gdk-pixbuf2'
17 'glib2'
18 'glibc'
19 'gtk3'
20 'hicolor-icon-theme'
21 'libcups'
22 'libdrm'
23 'libgcc'
24 'libstdc++'
25 'libx11'
26 'libxcb'
27 'libxcomposite'
28 'libxdamage'
29 'libxext'
30 'libxfixes'
31 'libxkbcommon'
32 'libxrandr'
33 'mesa'
34 'nspr'
35 'nss'
36 'pango'
37 'systemd-libs'
38 'xdg-utils'
39 'zlib'
40)
41provides=("omo-desktop=$pkgver")
42conflicts=('omo-desktop' 't3code-bin' 't3code')
43replaces=('t3code-bin')
44options=('!debug' '!strip')
45
46_appimage="OmO-${pkgver}-${CARCH}.AppImage"
47source=(
48 "$_appimage::https://github.com/minpeter/omo-desktop-releases/releases/download/v${pkgver}/$_appimage"
49 "${pkgname}-${pkgver}-LICENSE::https://github.com/minpeter/omo-desktop-releases/releases/download/v${pkgver}/LICENSE"
50)
51sha256sums=(
52 '46a5fcd872d07a472d58107213d62a22402fafada9ebf1c3a26e343b100793db' # AppImage
53 '884447aa26618ad7e223c3fab32357c6a11a07da625efb49ec7840d77666e3f1' # release license
54)
55
56prepare() {
57 chmod +x "$srcdir/$_appimage"
58 rm -rf "$srcdir/squashfs-root"
59 "$srcdir/$_appimage" --appimage-extract >/dev/null
60
61 if [[ ! -x "$srcdir/squashfs-root/AppRun" ||
62 ! -f "$srcdir/squashfs-root/chrome-sandbox" ]]; then
63 echo 'The AppImage payload is missing its launcher or Chromium sandbox.' >&2
64 return 1
65 fi
66}
67
68package() {
69 install -d "$pkgdir/opt/$pkgname"
70 cp -a --no-preserve=ownership "$srcdir/squashfs-root/." "$pkgdir/opt/$pkgname/"
71 chmod -R u=rwX,go=rX "$pkgdir/opt/$pkgname"
72 chmod 4755 "$pkgdir/opt/$pkgname/chrome-sandbox"
73
74 install -Dm755 /dev/stdin "$pkgdir/usr/bin/omo-desktop" <<'EOF'
75#!/bin/sh
76set -eu
77
78gpu_available=false
79for render_node in /dev/dri/renderD*; do
80 if [ -r "$render_node" ]; then
81 gpu_available=true
82 break
83 fi
84done
85if [ "$gpu_available" = false ]; then
86 set -- --disable-gpu "$@"
87fi
88# Chromium's shared-memory path becomes unreliable below 256 MiB (262144 KiB).
89shm_available_kib=0
90if [ -d /dev/shm ] && [ -w /dev/shm ]; then
91 shm_available_kib="$(df -Pk /dev/shm | awk 'NR == 2 { print $4 }')"
92fi
93if [ "${shm_available_kib:-0}" -lt 262144 ]; then
94 set -- --disable-dev-shm-usage "$@"
95fi
96
97exec /opt/omo-desktop-bin/AppRun "$@"
98EOF
99
100 local icon size_dir
101 for icon in "$srcdir"/squashfs-root/usr/share/icons/hicolor/*/apps/omo.png; do
102 size_dir="${icon%/apps/omo.png}"
103 install -Dm644 "$icon" \
104 "$pkgdir/usr/share/icons/hicolor/${size_dir##*/}/apps/omo.png"
105 done
106
107 install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/omo.desktop" <<'EOF'
108[Desktop Entry]
109Name=OmO
110Comment=Desktop control surface for local coding agents
111Exec=omo-desktop %U
112TryExec=omo-desktop
113Terminal=false
114Type=Application
115Icon=omo
116StartupWMClass=omo
117Categories=Development;
118MimeType=x-scheme-handler/omo;x-scheme-handler/omo-dev;
119EOF
120
121 install -Dm644 "$srcdir/${pkgname}-${pkgver}-LICENSE" \
122 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
123}
124

Scan history

Scanned at (UTC)SeverityRules
2026-08-31 01:44:31 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion