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-ro/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'extra/hunspell-ro') diff --git a/extra/hunspell-ro/PKGBUILD b/extra/hunspell-ro/PKGBUILD index 5904e19e..58cec462 100644 --- a/extra/hunspell-ro/PKGBUILD +++ b/extra/hunspell-ro/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