made hyprland prefix /usr/local
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user