Files
ansible_role_package/tasks/src/uwsm.yml
2025-03-16 20:17:28 -06:00

31 lines
696 B
YAML

- name: Clone git repository {{ pkg }}
ansible.builtin.git:
depth: 1
dest: "{{ d_tempdir.path }}/uwsm"
repo: "{{ uwsm.repo }}"
version: "v{{ uwsm.vers }}"
- name: Build {{ pkg }}
ansible.builtin.command:
creates: "{{ d_tempdir.path }}/uwsm/build"
chdir: "{{ d_tempdir.path }}/uwsm"
argv:
- meson
- setup
- --prefix={{ hyprland.prefix }}
- -Duuctl=enabled
- -Dfumon=enabled
- -Duwsm-app=enabled
- build
- name: Install {{ pkg }}
become: true
ansible.builtin.command:
creates: "{{ hyprland.prefix }}/bin/uwsm"
chdir: "{{ d_tempdir.path }}/uwsm"
argv:
- meson
- install
- -C
- build