blob: 4efe4aca5d9378b0b61864786c5d5fbf4d91758f (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env bash
docker run --rm -v "$PWD:/build" archlinux/base bash -c "
pacman -Syu --noconfirm base-devel pacman-contrib;
useradd -u $UID -m build;
echo 'build ALL = NOPASSWD: ALL' >> /etc/sudoers;
su build -c '
cd /build && \
updpkgsums && \
makepkg --printsrcinfo > .SRCINFO && \
makepkg --noconfirm -si && /usr/bin/snage --version'"
|