34 lines
553 B
YAML
34 lines
553 B
YAML
- name: Create user for yay builds
|
|
user:
|
|
name: aur-build
|
|
|
|
- name: Install required packages
|
|
community.general.pacman:
|
|
name:
|
|
- fakeroot
|
|
- autoconf
|
|
- automake
|
|
- bison
|
|
- flex
|
|
- gcc
|
|
- libtool
|
|
- m4
|
|
- make
|
|
- patch
|
|
- pkgconf
|
|
- texinfo
|
|
|
|
- name: Symlink sudo to doas
|
|
file:
|
|
dest: /usr/bin/sudo
|
|
src: /usr/bin/doas
|
|
state: link
|
|
ignore_errors: yes
|
|
|
|
- name: Install yay
|
|
kewlfft.aur.aur:
|
|
name: yay-bin
|
|
use: makepkg
|
|
state: present
|
|
become_user: aur-build
|