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,9 +7,16 @@
loop_var: file
ansible.builtin.file:
state: absent
path: "{{ path.prefix }}/{{ file }}"
path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprcursor is installed
register: stat_hyprcursor_inst
ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprcursor-util"
- name: Build and install hyprcursor
when:
- not stat_hyprcursor_inst.stat.exists
block:
- name: Clone git repository
ansible.builtin.git:
@@ -26,7 +33,7 @@
- cmake
- --no-warn-unused-cli
- DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX={{ path.prefix }}
- -DCMAKE_INSTALL_PREFIX={{ hyprland.prefix }}
- -S
- .
- -B