Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/hunspell-el
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-08-08 19:55:12 +0200
committerErich Eckner <git@eckner.net>2024-08-08 19:55:12 +0200
commit17359e2b445a8d42458b0c1b9a67cd1648f21020 (patch)
treeb3ea42c1cad21a0e20b9691f04c2ef88fa536f1e /extra/hunspell-el
parent34a6569bcb40897e81998fa4d6026d188c97a78f (diff)
fix extra/hunspell-* patches
* the sed now works similarly for split packages and single-pkgname packages
Diffstat (limited to 'extra/hunspell-el')
-rw-r--r--extra/hunspell-el/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/hunspell-el/PKGBUILD b/extra/hunspell-el/PKGBUILD
index 5904e19e..58cec462 100644
--- a/extra/hunspell-el/PKGBUILD
+++ b/extra/hunspell-el/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
+ '
)"