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 | hut builds submit -n"$1 (manual)" -t "aurbuild/$1" - } [ ! -d "$1" ] && exit 1 dispatch "$(basename "$1")"