updated src builds
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- name: Remove existing install
|
||||
- name: Remove existing install of {{ pkg }}
|
||||
when:
|
||||
- hyprland_clean
|
||||
become: "{{ ext_become }}"
|
||||
@@ -9,16 +9,16 @@
|
||||
state: absent
|
||||
path: "{{ hyprland.prefix }}/{{ file }}"
|
||||
|
||||
- name: Check if hyprland_qtutils is installed
|
||||
- name: Check for installed {{ pkg }}
|
||||
register: stat_hyprland_qtutils_bin
|
||||
ansible.builtin.stat:
|
||||
path: "{{ hyprland.prefix }}/bin/hyprland_qtutils"
|
||||
|
||||
- name: Build and install hyprland_qtutils
|
||||
- name: Build and install {{ pkg }}
|
||||
when:
|
||||
- not stat_hyprland_qtutils_bin.stat.exists
|
||||
block:
|
||||
- name: Clone git repository
|
||||
- name: Clone git repository {{ pkg }}
|
||||
ansible.builtin.git:
|
||||
depth: 1
|
||||
dest: "{{ hyprland_qtutils.git_path }}"
|
||||
@@ -26,7 +26,7 @@
|
||||
repo: "{{ hyprland_qtutils.repo }}"
|
||||
version: "{{ hyprland_qtutils.vers }}"
|
||||
|
||||
- name: Configure hyprland_qtutils
|
||||
- name: Configure {{ pkg }}
|
||||
ansible.builtin.command:
|
||||
creates: "{{ hyprland_qtutils.git_path }}/build"
|
||||
chdir: "{{ hyprland_qtutils.git_path }}"
|
||||
@@ -40,7 +40,7 @@
|
||||
- -B
|
||||
- ./build
|
||||
|
||||
- name: Build hyprland_qtutils
|
||||
- name: Build {{ pkg }}
|
||||
ansible.builtin.command:
|
||||
creates: "{{ hyprland_qtutils.git_path }}/build/hyprland_qtutils"
|
||||
chdir: "{{ hyprland_qtutils.git_path }}"
|
||||
@@ -55,7 +55,7 @@
|
||||
- -j
|
||||
- "{{ ansible_processor_nproc|int }}"
|
||||
|
||||
- name: Install hyprland_qtutils
|
||||
- name: Install {{ pkg }}
|
||||
become: true
|
||||
ansible.builtin.command:
|
||||
creates: "{{ path.bin }}/hyprland_qtutils"
|
||||
|
||||
Reference in New Issue
Block a user