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:
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
+ '
)"