blob: b59e267504a99d63dc9f43b857c956dc2649b09a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env bash
docker run \
--rm \
-v $(pwd):/srv \
--entrypoint /usr/bin/bash \
--workdir /srv \
docker.io/archlinux -c '\
pacman -Syu --noconfirm pacman-contrib pacman git sudo binutils go gcc && \
git clean -fdx && \
chmod a+w PKGBUILD .SRCINFO . && \
sudo -u nobody updpkgsums && \
sudo -u nobody makepkg --printsrcinfo > .SRCINFO && \
GOPATH=/srv/go GOCACHE=/srv/cache sudo -E -u nobody makepkg \
chmod a-w PKGBUILD .SRCINFO . \
'
|