Initial commit

This commit is contained in:
Sonny Bakker 2021-11-25 14:13:15 +01:00
parent 195b9600bb
commit 4c35875333
4 changed files with 46 additions and 0 deletions

23
tasks/aur.yml Normal file
View file

@ -0,0 +1,23 @@
- name: clone aur packages
become: true
git:
repo: '{{ item.url }}'
dest: '{{ aur_build_dir }}/{{ item.name }}'
update: true
loop: '{{ aur_packages }}'
- name: change aur package directories owner
become: true
file:
path: '{[ aur_build_dir }}/{{ item.name }}'
state: directory
owner: sonny
group: sonny
recurse: true
loop: '{{ aur_packages }}'
- name: build packages
command: 'makepkg --syncdeps --rmdeps --clean'
args:
chdir: '{[ aur_build_dir }}/{{ item.name }}'
loop: '{{ aur_packages }}'