updated src builds
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- name: Remove existing install
|
||||
- name: Remove existing install {{ pkg }}
|
||||
when:
|
||||
- hyprland_clean
|
||||
become: "{{ ext_become }}"
|
||||
@@ -9,12 +9,12 @@
|
||||
state: absent
|
||||
path: "{{ hyprland.prefix }}/{{ file }}"
|
||||
|
||||
- name: Check if hyprwayland-scanner is installed
|
||||
- name: Check for installed {{ pkg }}
|
||||
register: stat_hyprwayland_scanner_inst
|
||||
ansible.builtin.stat:
|
||||
path: "{{ hyprland.prefix }}/bin/hyprwayland-scanner"
|
||||
|
||||
- name: Build and install hyprwayland-scanner
|
||||
- name: Build and install {{ pkg }}
|
||||
when:
|
||||
- not stat_hyprwayland_scanner_inst.stat.exists
|
||||
block:
|
||||
@@ -25,7 +25,7 @@
|
||||
repo: "{{ hyprwayland_scanner.repo }}"
|
||||
version: "{{ hyprwayland_scanner.vers }}"
|
||||
|
||||
- name: Configure hyprwayland-scanner
|
||||
- name: Configure {{ pkg }}
|
||||
ansible.builtin.command:
|
||||
creates: "{{ d_tempdir.path }}/hyprwayland-scanner/build"
|
||||
chdir: "{{ d_tempdir.path }}/hyprwayland-scanner"
|
||||
@@ -35,7 +35,7 @@
|
||||
- -B
|
||||
- build
|
||||
|
||||
- name: Build hyprwayland-scanner
|
||||
- name: Build {{ pkg }}
|
||||
ansible.builtin.command:
|
||||
creates: "{{ d_tempdir.path }}/hyprwayland-scanner/build/hyprwayland-scanner"
|
||||
chdir: "{{ d_tempdir.path }}/hyprwayland-scanner"
|
||||
@@ -46,7 +46,7 @@
|
||||
- -j
|
||||
- "{{ ansible_processor_nproc|int }}"
|
||||
|
||||
- name: Install hyprwayland-scanner
|
||||
- name: Install {{ pkg }}
|
||||
become: true
|
||||
ansible.builtin.command:
|
||||
creates: "{{ path.bin }}/hyprwayland-scanner"
|
||||
|
||||
Reference in New Issue
Block a user