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 hyprwayland-scanner is installed
register: stat_hyprwayland_scanner_inst
ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprwayland-scanner"
- name: Build and install hyprwayland-scanner
when:
- not stat_hyprwayland_scanner_inst.stat.exists
block:
- name: Clone git repository
ansible.builtin.git:
@@ -24,7 +31,7 @@
chdir: "{{ d_tempdir.path }}/hyprwayland-scanner"
argv:
- cmake
- -DCMAKE_INSTALL_PREFIX={{ path.prefix }}
- -DCMAKE_INSTALL_PREFIX={{ hyprland.prefix }}
- -B
- build