From 17359e2b445a8d42458b0c1b9a67cd1648f21020 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 8 Aug 2024 19:55:12 +0200 Subject: fix extra/hunspell-* patches * the sed now works similarly for split packages and single-pkgname packages --- extra/hunspell-ru/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'extra/hunspell-ru') diff --git a/extra/hunspell-ru/PKGBUILD b/extra/hunspell-ru/PKGBUILD index 5904e19e..58cec462 100644 --- a/extra/hunspell-ru/PKGBUILD +++ b/extra/hunspell-ru/PKGBUILD @@ -1,6 +1,9 @@ eval "$( - declare -f package | \ - sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f $( + declare -F \ + | awk '$1 == "declare" && $2 == "-f" {print $3}' + ) \ + | sed ' + /qtwebengine_dictionaries/,/done/d + ' )" -- cgit v1.2.3-70-g09d2