# Install yay
- useradd pipe -m
- echo "pipe ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/pipe
- su -s /bin/sh pipe
- git clone https://aur.archlinux.org/yay.git
- cd yay
- makepkg -i --noconfirm
- cd ..
# Update sha512sums and .SRCINFO for both packages
- cd kotatogram-desktop/
- . PKGBUILD
- yay -S $makedepends $depends --noconfirm
- echo "makepkg"
- sudo -u nobody updpkgsums
- . PKGBUILD
- yay -S $makedepends $depends --noconfirm
- sudo -u nobody makepkg -c
- sudo -u nobody makepkg --printsrcinfo > .SRCINFO
- cd ..
https://aur.archlinux.org/yay.git - cd yay
- makepkg -i --noconfirm
- cd ..
# Update sha512sums and .SRCINFO for both packages
- cd kotatogram-desktop/
- . PKGBUILD
- yay -S $makedepends $depends --noconfirm
- echo "makepkg"
- sudo -u nobody updpkgsums
- . PKGBUILD
- yay -S $makedepends $depends --noconfirm
- sudo -u nobody makepkg -c
- sudo -u nobody makepkg --printsrcinfo > .SRCINFO
- cd ..
Выглядит ок?