builder/autobuilder/build
fbt b923682b75 autobuilder
Signed-off-by: fbt <fbt@fleshless.org>
2021-03-01 09:43:45 +03:00

17 lines
328 B
Bash
Executable File

#!/usr/bin/env bash
# The builder user is already created in the rootfs
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export LC_ALL=en_US.UTF-8
export PKG_URL=$1
# Upgrade
sudo pacman -Suy --noconfirm
# Workdir
cd /buildroot
# Build the damn thing
git clone "$PKG_URL" .
makepkg -s --noconfirm -L