2024-07-04 12:21:21 +02:00
|
|
|
---
|
|
|
|
- debug:
|
|
|
|
msg: "Installing AUR package: {{ package }}"
|
|
|
|
|
|
|
|
- name: Clone package repo
|
|
|
|
become: true
|
|
|
|
become_method: sudo
|
|
|
|
become_user: nobody
|
|
|
|
git:
|
|
|
|
repo: "https://aur.archlinux.org/{{ package }}.git"
|
|
|
|
dest: "/home/build/{{ package }}"
|
|
|
|
# version: master
|
|
|
|
clone: true
|
2024-08-13 01:13:39 +02:00
|
|
|
update: true
|
2024-07-04 12:21:21 +02:00
|
|
|
force: true
|
|
|
|
|
|
|
|
- name: Build package
|
|
|
|
become: true
|
|
|
|
become_method: sudo
|
|
|
|
become_user: nobody
|
|
|
|
shell: |
|
|
|
|
cd "/home/build/{{package}}"
|
|
|
|
makepkg --force --syncdeps --rmdeps --noconfirm --install
|
|
|
|
environment:
|
|
|
|
GOCACHE: /tmp/go_cache/
|