From phkr, 1 Week ago, written in Bash.
This paste will cross the great divide in 2 Weeks.
Embed
  1. From 51d7c3bf4f00b675d5f8b8845531dfa62dc90d82 Mon Sep 17 00:00:00 2001
  2. From: Platon Ryzhikov <ihummer63@yandex.ru>
  3. Date: Mon, 19 Jul 2021 11:02:00 +0300
  4. Subject: [PATCH] mkchrootpkg: enable ignorearch option passing for downloading
  5.  sources
  6.  
  7. ---
  8.  bin/pkg/mkchrootpkg.in | 3 ++-
  9.  1 file changed, 2 insertions(+), 1 deletion(-)
  10.  
  11. diff --git a/bin/pkg/mkchrootpkg.in b/bin/pkg/mkchrootpkg.in
  12. index d15facb..8b81aa7 100644
  13. --- a/bin/pkg/mkchrootpkg.in
  14. +++ b/bin/pkg/mkchrootpkg.in
  15. @@ -324,9 +324,10 @@ makepkg_args+=("${@:$OPTIND}")
  16.  # See if -R or -e was passed to makepkg
  17.  for arg in "${@:$OPTIND}"; do
  18.      case ${arg%%=*} in
  19. -        --skip*|--holdver) verifysource_args+=("$arg") ;;
  20. +        --skip*|--holdver|--ignorearch) verifysource_args+=("$arg") ;;
  21.          --repackage|--noextract) keepbuilddir=1 ;;
  22.          --*) ;;
  23. +        -*A*) verifysource_args+=("-A") ;;
  24.          -*R*|-*e*) keepbuilddir=1 ;;
  25.      esac
  26.  done
  27. --
  28. 2.32.0
  29.