[arch-commits] Commit in hunspell-en/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Oct 1 19:27:09 UTC 2021
Date: Friday, October 1, 2021 @ 19:27:09
Author: arojas
Revision: 425009
Install qt6-webengine dictionaries
Modified:
hunspell-en/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++------------------
1 file changed, 22 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-01 19:23:22 UTC (rev 425008)
+++ PKGBUILD 2021-10-01 19:27:09 UTC (rev 425009)
@@ -3,12 +3,12 @@
pkgbase=hunspell-en
pkgname=('hunspell-en_us' 'hunspell-en_au' 'hunspell-en_ca' 'hunspell-en_gb')
pkgver=2020.12.07
-pkgrel=3
+pkgrel=4
pkgdesc="English hunspell dictionaries"
arch=(any)
url="http://wordlist.aspell.net/dicts/"
license=('LGPL' 'custom:scowl')
-makedepends=('qt5-webengine')
+makedepends=('qt6-webengine')
optdepends=('hunspell: the spell checking libraries and apps')
source=(https://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_US-large-$pkgver.zip
https://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_AU-large-$pkgver.zip
@@ -52,11 +52,12 @@
done
popd
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt{,6}/qtwebengine_dictionaries/
for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename="$(basename "$_file")"
- qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ _filename=$(basename $_file)
+ /usr/lib/qt6/qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ ln -rs "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic} "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
done
# myspell symlinks
@@ -89,11 +90,12 @@
done
popd
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt{,6}/qtwebengine_dictionaries/
for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename="$(basename "$_file")"
- qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ _filename=$(basename $_file)
+ /usr/lib/qt6/qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ ln -rs "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic} "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
done
# myspell symlinks
@@ -126,11 +128,12 @@
done
popd
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt{,6}/qtwebengine_dictionaries/
for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename="$(basename "$_file")"
- qwebengine_convert_dict "$_file" "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ _filename=$(basename $_file)
+ /usr/lib/qt6/qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ ln -rs "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic} "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
done
# myspell symlinks
@@ -163,11 +166,12 @@
done
popd
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt{,6}/qtwebengine_dictionaries/
for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename="$(basename "$_file")"
- qwebengine_convert_dict "$_file" "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ _filename=$(basename $_file)
+ /usr/lib/qt6/qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ ln -rs "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic} "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
done
# myspell symlinks
More information about the arch-commits
mailing list