Files
omarchy-pkgs/pkgbuilds/ghost/ghost-runtime.install
T
ferdousandClaude Opus 5.5 8b8ede46ed Add Ghost: runtime with optional Omarchy HUD (#390)
* Add ghost: an owner-local AI persona with an Omarchy-native HUD

Ghost (https://github.com/ferdousbhai/ghost, Apache-2.0) is a local AI
persona for Omarchy: a daemon on 127.0.0.1, a Quickshell HUD summoned
with Super+Ctrl+G, a `ghost` CLI, an opt-in Chromium relay, and a
computer-use helper. The package builds from the v0.1.0 GitHub release's
sanitized source archive plus its prebuilt Bun runtime archive; the
`.omarchy/package.json` upstream block follows later releases the same
way. check() runs the project's own test suite against the payload.

Built locally with `makepkg --cleanbuild` from these exact inputs on
Omarchy 4.0.0.alpha: ghost-0.1.0-1-x86_64.pkg.tar.zst.

* ghost 0.1.1: arch=('any'), one runtime archive for every architecture

The payload is Bun-target JavaScript with no native modules; verified
on aarch64 under emulation (ferdousbhai/ghost#52). The runtime archive
is now named linux-any and listed with the source tarball under
sources.any.

* ghost: 0.1.2

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017TQbyws7icrhj7H7V7yi6v

* ghost: 0.2.0

* ghost: 0.2.1

* ghost: 0.2.2

* ghost: 0.2.3

* ghost: 0.3.0

* ghost: 0.4.0 with independently installable runtime

* ghost: 0.4.1

* ghost: 0.4.2

* ghost: 0.4.3

* ghost: 0.5.0

* ghost: 0.5.1

* ghost: 0.5.2

* ghost: 0.6.0

* ghost: 0.6.0-2, declare ripgrep for package checks

check() in the 0.6.0 source runs packaging tests that need rg, and the
clean build container does not have it, so every build since 0.5.0 stopped
with "ripgrep is required by package checks but is not installed".
Same version, so pkgrel goes to 2 (ghost e97eb09 carries the same
checkdepend for the next release's render).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 14:39:53 +00:00

38 lines
1.1 KiB
Plaintext

post_install() {
cat <<'TEXT'
Ghost runtime is installed without the Ghost HUD. Enable the daemon in the
current graphical session with:
systemctl --user enable --now ghostd.service
ghost status
The runtime keeps the CLI, authenticated API, desktop helper, and the relay
that the Ghost browser extension pairs with. The extension itself is a
separate install: https://github.com/ferdousbhai/ghost-chromium-extension
(pairing: `ghost browser allow <code>`). An app can supply its own UI.
See /usr/share/doc/ghost/ARCH.md for UI installation and removal.
Ghost homes, credentials, and state belong to you; package removal preserves them.
TEXT
}
post_upgrade() {
cat <<'TEXT'
Ghost runtime was upgraded. Restart it in the graphical user's session:
systemctl --user reenable --now ghostd.service
Ghost homes, credentials, and state were preserved.
TEXT
}
pre_remove() {
cat <<'TEXT'
Before removing the runtime, stop it from the graphical user's session:
systemctl --user disable --now ghostd.service
Removal preserves ghost homes, credentials, and state.
TEXT
}