[arch-commits] Commit in hunspell-fr/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Oct 1 19:31:11 UTC 2021


    Date: Friday, October 1, 2021 @ 19:31:11
  Author: arojas
Revision: 1026535

Install qt6-webengine dictionaries

Modified:
  hunspell-fr/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-01 19:10:41 UTC (rev 1026534)
+++ PKGBUILD	2021-10-01 19:31:11 UTC (rev 1026535)
@@ -2,12 +2,12 @@
 
 pkgname=hunspell-fr
 pkgver=7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="French (classic/modern) hunspell dictionaries"
 arch=(any)
 url="https://grammalecte.net/download.php?prj=fr"
 license=(MPL2)
-makedepends=(qt5-webengine)
+makedepends=(qt6-webengine)
 optdepends=('hunspell: the spell checking libraries and apps')
 source=("https://grammalecte.net/download/fr/${pkgname/-fr/}-french-dictionaries-v${pkgver}.zip")
 sha256sums=('eb7ac36dc14b9c3e3c0cabae0f90304a137da8e6ae607bcaf56d65720fbd097f')
@@ -35,10 +35,11 @@
   # docs
   install -Dm644 README_dict_fr.txt -t "${pkgdir}"/usr/share/doc/${pkgname}/
 
-  # 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
 }



More information about the arch-commits mailing list