- 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