From f697e5eefdf3b0359001509cc7b85d6904beb8dc Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 9 Aug 2024 10:37:07 +0200 Subject: hunspell-*: simplified patching, didnt work in chroot for me, also patched download locations --- extra/hunspell-de/PKGBUILD | 11 ++++------- extra/hunspell-el/PKGBUILD | 11 ++++------- extra/hunspell-en/PKGBUILD | 32 +++++++++++++++++++++++++------- extra/hunspell-es/PKGBUILD | 11 ++++------- extra/hunspell-fr/PKGBUILD | 11 ++++------- extra/hunspell-hu/PKGBUILD | 11 ++++------- extra/hunspell-it/PKGBUILD | 11 ++++------- extra/hunspell-nl/PKGBUILD | 11 ++++------- extra/hunspell-pl/PKGBUILD | 13 ++++++------- extra/hunspell-ro/PKGBUILD | 11 ++++------- extra/hunspell-ru/PKGBUILD | 11 ++++------- 11 files changed, 67 insertions(+), 77 deletions(-) (limited to 'extra') diff --git a/extra/hunspell-de/PKGBUILD b/extra/hunspell-de/PKGBUILD index 58cec462..5904e19e 100644 --- a/extra/hunspell-de/PKGBUILD +++ b/extra/hunspell-de/PKGBUILD @@ -1,9 +1,6 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' )" diff --git a/extra/hunspell-el/PKGBUILD b/extra/hunspell-el/PKGBUILD index 58cec462..5904e19e 100644 --- a/extra/hunspell-el/PKGBUILD +++ b/extra/hunspell-el/PKGBUILD @@ -1,9 +1,6 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' )" diff --git a/extra/hunspell-en/PKGBUILD b/extra/hunspell-en/PKGBUILD index 58cec462..6621774e 100644 --- a/extra/hunspell-en/PKGBUILD +++ b/extra/hunspell-en/PKGBUILD @@ -1,9 +1,27 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package_hunspell-en_us | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' +)" + +eval "$( + declare -f package_hunspell-en_au | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' +)" + +eval "$( + declare -f package_hunspell-en_ca | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' +)" + +eval "$( + declare -f package_hunspell-en_gb | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' )" diff --git a/extra/hunspell-es/PKGBUILD b/extra/hunspell-es/PKGBUILD index 58cec462..ea78e53f 100644 --- a/extra/hunspell-es/PKGBUILD +++ b/extra/hunspell-es/PKGBUILD @@ -1,9 +1,6 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package_hunspell-es_any | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' )" diff --git a/extra/hunspell-fr/PKGBUILD b/extra/hunspell-fr/PKGBUILD index 58cec462..5904e19e 100644 --- a/extra/hunspell-fr/PKGBUILD +++ b/extra/hunspell-fr/PKGBUILD @@ -1,9 +1,6 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' )" diff --git a/extra/hunspell-hu/PKGBUILD b/extra/hunspell-hu/PKGBUILD index 58cec462..118258cc 100644 --- a/extra/hunspell-hu/PKGBUILD +++ b/extra/hunspell-hu/PKGBUILD @@ -1,9 +1,6 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package | \ + sed ' + /qtwebengine_dictionaries/,/ln/d + ' )" diff --git a/extra/hunspell-it/PKGBUILD b/extra/hunspell-it/PKGBUILD index 58cec462..5904e19e 100644 --- a/extra/hunspell-it/PKGBUILD +++ b/extra/hunspell-it/PKGBUILD @@ -1,9 +1,6 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' )" diff --git a/extra/hunspell-nl/PKGBUILD b/extra/hunspell-nl/PKGBUILD index 58cec462..5904e19e 100644 --- a/extra/hunspell-nl/PKGBUILD +++ b/extra/hunspell-nl/PKGBUILD @@ -1,9 +1,6 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' )" diff --git a/extra/hunspell-pl/PKGBUILD b/extra/hunspell-pl/PKGBUILD index 58cec462..0c7161ef 100644 --- a/extra/hunspell-pl/PKGBUILD +++ b/extra/hunspell-pl/PKGBUILD @@ -1,9 +1,8 @@ +source[0]='https://people.freebsd.org/~sunpoet/sunpoet/hunspell/sjp-myspell-pl-20230701.zip' + eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package | \ + sed ' + /qtwebengine_dictionaries/,/ln/d + ' )" diff --git a/extra/hunspell-ro/PKGBUILD b/extra/hunspell-ro/PKGBUILD index 58cec462..5904e19e 100644 --- a/extra/hunspell-ro/PKGBUILD +++ b/extra/hunspell-ro/PKGBUILD @@ -1,9 +1,6 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' )" diff --git a/extra/hunspell-ru/PKGBUILD b/extra/hunspell-ru/PKGBUILD index 58cec462..5904e19e 100644 --- a/extra/hunspell-ru/PKGBUILD +++ b/extra/hunspell-ru/PKGBUILD @@ -1,9 +1,6 @@ eval "$( - declare -f $( - declare -F \ - | awk '$1 == "declare" && $2 == "-f" {print $3}' - ) \ - | sed ' - /qtwebengine_dictionaries/,/done/d - ' + declare -f package | \ + sed ' + /qtwebengine_dictionaries/,/done/d + ' )" -- cgit v1.2.3-70-g09d2