Watch
1
0
Fork
You've already forked souveraine
0
souveraine/packaging/arch/PKGBUILD.shell.prebuilt
Fimeg 7e6633a290 ci: preserve the staged shell archive
The package step erased its own input before the first copy. Keep the real zstd archive outside scratch and extract its single top-level tree.
2026-08-20 15:42:40 -04:00

25 lines
1.1 KiB
Text

# 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"
bsdtar -xf "$srcdir/souveraine-shell-config.tar.zst" \
-C "$pkgdir/etc/xdg/quickshell"
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}