blob: 7845885e6dd1b4e0b98242952e8e51da11cf067d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env bash
#
# This script is called by build.sh and actually does the AUR build inside a Docker container.
# It is not used in the AUR builds in any way, and is only for debugging purposes.
#
set -e
pacman -Sy --noconfirm
pacman -S git --noconfirm
echo 'yay ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers
useradd -d /home/yay -g users -m -s /bin/bash yay
cd /tmp
sudo -u yay git clone https://aur.archlinux.org/yay-bin.git
cd /tmp/yay-bin
sudo -u yay makepkg -si --noconfirm
sudo -u yay yay -S --noconfirm ferdium-nightly-bin
cp /home/yay/.cache/yay/ferdium-nightly-bin/ferdium-nightly-bin-*.pkg.tar.zst /tmp/output
|