made hyprland prefix /usr/local

This commit is contained in:
Matthew Stobbs
2025-03-02 11:46:39 -07:00
parent e9db8789dd
commit b10162a578
9 changed files with 59 additions and 16 deletions

View File

@@ -7,12 +7,12 @@
loop_var: file
ansible.builtin.file:
state: absent
path: "{{ path.prefix }}/{{ file }}"
path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprland is installed
register: stat_hyprland_bin
ansible.builtin.stat:
path: "{{ path.bin }}/Hyprland"
path: "{{ hyprland.prefix }}/bin/Hyprland"
- name: Build and install hyprland
when:
@@ -34,7 +34,7 @@
- cmake
- --no-warn-unused-cli
- -DCMAKE_BUILD_TYPE:STRING=Release
- -DCMAKE_INSTALL_PREFIX:PATH={{ path.prefix }}
- -DCMAKE_INSTALL_PREFIX:PATH={{ hyprland.prefix }}
- -S
- .
- -B