~xdavidwu/aurbuild

ref: 4c81e27401219b50a6f7845a1a70313344fd1d8a aurbuild/submit-build -rwxr-xr-x 262 bytes
4c81e274Pinghao Wu jdk-openj9-bin: untrack 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh


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

[ ! -d "$1" ] && exit 1

dispatch "$(basename "$1")"