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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user