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.
25 lines
1.1 KiB
Text
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"
|
|
}
|