~xdavidwu/aurbuild

ref: 11fc0095bcd60894d7f41c095dd37b2ac8d225de aurbuild/trigger-vcs -rwxr-xr-x 324 bytes
11fc0095Pinghao Wu android-pkg-config: track for android-configure dep a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

dispatch() {
	yq ".sources += [\"https://aur.archlinux.org/$1.git\"] |
		.environment.pkgbase = \"$1\"
	" < build.yml | ssh builds@builds.xdavidwu.link "submit -n$1\ $2 -t aurbuild -t $1"
}

IFS='
'

for i in $(cat vcs.list); do
	[ "$(echo "$i" | head -c 1)" = '#' ] && continue
	dispatch $i '(vcs)'
done