restructuring for easier maintenance

- creating src packages when things can't be installed via
  actual system package
- neovim srcpkg is being worked on now
This commit is contained in:
Matthew Stobbs
2025-01-19 14:10:41 -07:00
parent 985da518b4
commit c62d4e1977
135 changed files with 262 additions and 242 deletions

29
tasks/build/neovide.yml Normal file
View File

@@ -0,0 +1,29 @@
---
- ansible.builtin.include_vars:
file: neovide.yml
name: _neovide
- name: build and install neovide
become: true
ansible.builtin.command:
cmd:
- cargo
- install
- --root
- "{% if ansible_os_family != 'Linux' %}.{% else %}{{ _neovide.install_prefix }}"
- --git
- https://github.com/neovide/neovide.git
- --tag
- "{{ _neovide.version }}"
- name: Copy neovide icon
become: true
ansible.builtin.copy:
src: neovide/icon.png
dest: "{{ _neovide.install_prefix }}/share/icons/neovide.png"
- name: Copy neovide.desktop
become: true
ansible.builtin.templatefile:
src: neovide/neovide.desktop
dest: "{{ _neovide.install_prefix }}/share/applications/neovide.desktop"