Files
ansible_role_package/tasks/src/ghostty.yml
Matthew Stobbs d1e8957f94 fix packages
2025-02-22 14:59:18 -07:00

18 lines
535 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Build ghostty from source
block:
- name: Clone ghostty git repository
ansible.builtin.git:
depth: 1
dest: "{{ d_tempdir.path }}/ghostty"
repo: "{{ ghostty.repo }}"
version: "{{ ghostty.vers }}"
- name: Build ghostty
become: "{{ ext_become }}"
register: c_ghostty_build
ansible.builtin.command:
chdir: "{{ d_tempdir.path }}/ghostty"
cmd: "zig build -p {{ path.prefix }} -D{{ pkgconfig_ghostty.optimize }}"