Initial commit
This commit is contained in:
parent
195b9600bb
commit
4c35875333
4 changed files with 46 additions and 0 deletions
23
tasks/aur.yml
Normal file
23
tasks/aur.yml
Normal 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 }}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue