updated src builds

This commit is contained in:
Matthew Stobbs
2025-03-16 20:17:28 -06:00
parent 43f539253f
commit bfd3afd353
20 changed files with 128 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
- name: Remove existing install
- name: Remove existing install of {{ pkg }}
when:
- hyprland_clean
become: "{{ ext_become }}"
@@ -9,12 +9,12 @@
state: absent
path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprland is installed
- name: Check for existing install of {{ pkg }}
register: stat_hyprland_bin
ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/Hyprland"
- name: Build and install hyprland
- name: Build and install {{ pkg }}
when:
- not stat_hyprland_bin.stat.exists
block:
@@ -26,7 +26,7 @@
repo: "{{ hyprland.repo }}"
version: "{{ hyprland.vers }}"
- name: Configure hyprland
- name: Configure {{ pkg }}
ansible.builtin.command:
creates: "{{ hyprland.git_path }}/build"
chdir: "{{ hyprland.git_path }}"
@@ -40,7 +40,7 @@
- -B
- ./build
- name: Build hyprland
- name: Build {{ pkg }}
ansible.builtin.command:
creates: "{{ hyprland.git_path }}/build/Hyprland"
chdir: "{{ hyprland.git_path }}"
@@ -55,7 +55,7 @@
- -j
- "{{ ansible_processor_nproc|int }}"
- name: Install hyprland
- name: Install {{ pkg }}
become: true
ansible.builtin.command:
creates: "{{ path.bin }}/hyprland"