Watch
1
0
Fork
You've already forked souveraine
0

souveraine-shell: package the composed quickshell config

CI stages deploy.sh in a scratch HOME and tars the composed tree
dereferenced, then makepkg ships it to /etc/xdg/quickshell/souveraine
on both arches — the shell becomes package-owned, and a writable
~/.config copy keeps shadowing it.
This commit is contained in:
Fimeg 2026-08-19 13:14:20 -04:00
commit 3225735a01
2 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,25 @@
# CI package recipe for the Souveraine quickshell config.
#
# surfaces/quickshell/deploy.sh composes the shell into a scratch HOME
# (repo files symlinked in, ii dirs borrowed from the ii-base pin), and CI
# tars that tree dereferenced. This package ships the composed result to
# /etc/xdg/quickshell/souveraine, so a device gets the shell through pacman
# instead of hand-copied files. A writable copy in ~/.config/quickshell
# shadows it (the live overlay stays deploy.sh's).
pkgname=souveraine-shell
pkgver="${SOUVERAINE_PKGVER:?CI must set SOUVERAINE_PKGVER}"
pkgrel=1
pkgdesc="The Souveraine quickshell config, composed and package-owned"
arch=('any')
url='https://gitea.wiuf.net/Fimeg/souveraine'
license=('GPL-3.0-or-later')
depends=('quickshell')
options=('!debug')
source=('souveraine-shell-config.tar.zst' 'LICENSE')
b2sums=('SKIP' 'SKIP')
package() {
install -d "$pkgdir/etc/xdg/quickshell/souveraine"
tar -xzf "$srcdir/souveraine-shell-config.tar.zst" \
-C "$pkgdir/etc/xdg/quickshell/souveraine"
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}