Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/hunspell-pl/PKGBUILD
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-pl/PKGBUILD
parent34a6569bcb40897e81998fa4d6026d188c97a78f (diff)
fix extra/hunspell-* patches
* the sed now works similarly for split packages and single-pkgname packages
Diffstat (limited to 'extra/hunspell-pl/PKGBUILD')
-rw-r--r--extra/hunspell-pl/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/hunspell-pl/PKGBUILD b/extra/hunspell-pl/PKGBUILD
index 5904e19e..58cec462 100644
--- a/extra/hunspell-pl/PKGBUILD
+++ b/extra/hunspell-pl/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
+ '
)"