File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,16 @@ install_deps() {
5858 xargs yay -S --noconfirm --needed
5959}
6060
61+ fetch_gpg_keys () {
62+ awk ' /validpgpkeys/ {print $3}' .SRCINFO | \
63+ xargs gpg --keyserver keyserver.ubuntu.com --recv-key
64+ }
65+
6166case $target in
6267 pkgbuild)
6368 namcap PKGBUILD
6469 install_deps
70+ fetch_gpg_keys
6571 makepkg --syncdeps --noconfirm
6672
6773 # shellcheck disable=SC1091
@@ -73,6 +79,7 @@ case $target in
7379 ;;
7480 run)
7581 install_deps
82+ fetch_gpg_keys
7683 makepkg --syncdeps --noconfirm --install
7784 eval " $command "
7885 ;;
Original file line number Diff line number Diff line change 55 docker pull martynas/ archlinux
66 docker build -t arch -pkgbuild-builder .
77
8- # run a comment on AUR project, like `just run-on-aur ucm-bin pkgbuild`
9- run-on-aur project command :
10- mkdir -p target
11- git -C target/ {{ project}} pull || git clone https:// aur.archlinux.org/ {{ project}} .git target/ {{ project}}
12- docker run --rm -v {{ pwd}} / target/ {{ project}} :/ home/ build -v / tmp/ gh:/ github/ home arch -pkgbuild-builder {{ command}} .
8+ # run a command on a project, like:
9+ # just run [email protected] :Marcool04/linux-fix-e1000e.git pkgbuild 10+ # just run https://aur.archlinux.org/ucm-bin.git pkgbuild
11+ run project -uri command :
12+ rm -rf target
13+ mkdir target
14+ git clone {{ project-uri}} target
15+ docker run --rm -v {{ pwd}} / target:/ home/ build -v / tmp/ gh:/ github/ home arch -pkgbuild-builder {{ command}} .
You can’t perform that action at this time.
0 commit comments