* 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>
33 lines
907 B
Plaintext
33 lines
907 B
Plaintext
post_install() {
|
|
cat <<'TEXT'
|
|
Ghost's Omarchy UI is installed. Enable it in the graphical user's session:
|
|
|
|
mkdir -p ~/.config/omarchy/plugins
|
|
ln -sfn /usr/share/ghost/plugin ~/.config/omarchy/plugins/ferdousbhai.ghost
|
|
omarchy-shell shell rescanPlugins && omarchy plugin enable ferdousbhai.ghost
|
|
|
|
Summon it with `omarchy-shell shell toggle ferdousbhai.ghost`.
|
|
Shell snippets are under /usr/share/doc/ghost/shell-contrib/.
|
|
The runtime is managed separately; see /usr/share/doc/ghost/ARCH.md.
|
|
TEXT
|
|
}
|
|
|
|
post_upgrade() {
|
|
cat <<'TEXT'
|
|
Ghost's Omarchy UI was upgraded. Reload its QML by restarting the shell:
|
|
|
|
omarchy-restart-shell
|
|
TEXT
|
|
}
|
|
|
|
pre_remove() {
|
|
cat <<'TEXT'
|
|
Before removing the UI, disable and unlink its plugin in the graphical session:
|
|
|
|
omarchy plugin remove ferdousbhai.ghost --yes
|
|
omarchy-restart-shell
|
|
|
|
Removing only the UI leaves Ghost runtime and all owner data available.
|
|
TEXT
|
|
}
|