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

Antonio Rojas arojas at gemini.archlinux.org
Fri Oct 1 19:39:32 UTC 2021


    Date: Friday, October 1, 2021 @ 19:39:32
  Author: arojas
Revision: 1026561

Install qt6-webengine dictionaries

Modified:
  hunspell-it/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-01 19:37:49 UTC (rev 1026560)
+++ PKGBUILD	2021-10-01 19:39:32 UTC (rev 1026561)
@@ -4,12 +4,12 @@
 pkgver=2.4
 _pkgver=2_4
 _date=2007_09_01
-pkgrel=9
+pkgrel=10
 pkgdesc="Italian dictionary for Hunspell"
 arch=('any')
 url="https://sourceforge.net/projects/linguistico/"
 license=('GPL3')
-makedepends=('hunspell' 'qt5-webengine')
+makedepends=('hunspell' 'qt6-webengine')
 optdepends=('hunspell: the spell checking libraries and apps')
 source=("https://downloads.sourceforge.net/linguistico/italiano_${_pkgver}_${_date}.zip")
 md5sums=('e7fbd9e2dfb25ea3288cdb918e1e1260')
@@ -51,10 +51,11 @@
     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}
+    /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