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,23 +9,23 @@
state: absent
path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprcursor is installed
- name: Check for installed {{ pkg }}
register: stat_hyprcursor_inst
ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprcursor-util"
- name: Build and install hyprcursor
- name: Build and install {{ pkg }}
when:
- not stat_hyprcursor_inst.stat.exists
block:
- name: Clone git repository
- name: Clone git repository {{ pkg }}
ansible.builtin.git:
depth: 1
dest: "{{ hyprcursor.git_path }}"
repo: "{{ hyprcursor.repo }}"
version: "{{ hyprcursor.vers }}"
- name: Configure hyprcursor
- name: Configure {{ pkg }}
ansible.builtin.command:
creates: "{{ hyprcursor.git_path }}/build"
chdir: "{{ hyprcursor.git_path }}"
@@ -39,7 +39,7 @@
- -B
- ./build
- name: Build hyprcursor
- name: Build {{ pkg }}
ansible.builtin.command:
creates: "{{ hyprcursor.git_path }}/build/hyprcursor.so"
chdir: "{{ hyprcursor.git_path }}"
@@ -54,7 +54,7 @@
- -j
- "{{ ansible_processor_nproc|int }}"
- name: Install hyprcursor
- name: Install {{ pkg }}
become: true
ansible.builtin.command:
creates: "{{ path.bin }}/hyprcursor"