Move AUR/local deps to optdepends, deploy swaync via install hook

AUR packages can't be resolved by pacman when moonarch-git is
installed from the Gitea Package Registry. Move them to optdepends
since they're managed separately via packages/aur.txt.

swaync config files conflict with the swaync system package —
deploy via .install hook like foot and waybar configs.
This commit is contained in:
2026-04-01 15:23:28 +02:00
parent a1c1687f81
commit 928de71ead
2 changed files with 27 additions and 14 deletions
+4
View File
@@ -25,6 +25,10 @@ post_install() {
# Deploy waybar style (file owned by waybar package, overwrite deliberately)
cp /usr/share/moonarch/waybar/style.css /etc/xdg/waybar/style.css
# Deploy swaync config (files owned by swaync package, overwrite deliberately)
cp /usr/share/moonarch/swaync/config.json /etc/xdg/swaync/config.json
cp /usr/share/moonarch/swaync/style.css /etc/xdg/swaync/style.css
# Deploy Walker config override to skel and existing user homes.
# Only copies if user has no config yet — never overwrites manual edits.
install -Dm644 /usr/share/moonarch/walker-config.toml \