Fix Elsewhen shell plugin install path

This commit is contained in:
Ryan Hughes committed 2026-09-20 13:45:17 -04:00
1 parent 31e23bc538
commit 2e01fabfd6
2 files changed
+5 -8

No files matched your search

+3 -6
View File
@@ -2,7 +2,7 @@
pkgname=elsewhen
pkgver=1.0.0
pkgrel=1
pkgrel=2
pkgdesc='World clock plugin for the Omarchy shell'
arch=('any')
url='https://github.com/omacom/elsewhen'
@@ -24,11 +24,8 @@ source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('3124f0c0a19ebc1b158bcf04151cddd6c733ceeead88052186b6a54c46bee263')
package() {
# The packaged plugin root, scanned by the shell between its bundled
# plugins and ~/.config/omarchy/plugins since omarchy PR #12051. An older
# shell never looks here, so on it this package installs cleanly and does
# nothing; there is no omarchy version to pin until a release carries #12051.
local plugin="$pkgdir/usr/share/omarchy/plugins/omacom.elsewhen"
# Install alongside the bundled plugins in the shell's plugin directory.
local plugin="$pkgdir/usr/share/omarchy/shell/plugins/omacom.elsewhen"
cd "$srcdir/$pkgname-$pkgver" || return 1
# The shell loads the entry point each manifest declares. A tree without