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

Antonio Rojas arojas at gemini.archlinux.org
Fri Oct 1 19:03:54 UTC 2021


    Date: Friday, October 1, 2021 @ 19:03:54
  Author: arojas
Revision: 425005

Install qt6-webengine dictionaries

Modified:
  hunspell-de/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-01 18:47:40 UTC (rev 425004)
+++ PKGBUILD	2021-10-01 19:03:54 UTC (rev 425005)
@@ -3,12 +3,12 @@
 
 pkgname=hunspell-de
 pkgver=20161207
-pkgrel=6
+pkgrel=7
 pkgdesc="German hunspell dictionaries"
 arch=('any')
 url="https://www.j3e.de/ispell/igerman98/"
 license=('GPL')
-makedepends=('hunspell' 'ispell' 'qt5-webengine')
+makedepends=('hunspell' 'ispell' 'qt6-webengine')
 optdepends=('hunspell: the spell checking libraries and apps')
 source=("https://www.j3e.de/ispell/igerman98/dict/igerman98-$pkgver.tar.bz2")
 sha256sums=('17296f03c5fea62d76ecc530ebe80f6adc430278f58d472dc1842d71612960a8')
@@ -61,10 +61,11 @@
   popd
 
   # Install webengine dictionaries
-  install -d "$pkgdir"/usr/share/qt/qtwebengine_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
 
   # docs



More information about the arch-commits mailing list