aur_builder/run.sh

17 lines
285 B
Bash
Executable File

#!/bin/bash
set -xeuo pipefail
# sudo sed -i '$ a 169.254.1.2 archmirror.i.balki.me' /etc/hosts
sudo sh -c 'echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts'
sudo pacman -Syu
sudo chown --recursive builder:builder /w
makepkg --printsrcinfo > .SRCINFO
makepkg -s