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

Antonio Rojas arojas at gemini.archlinux.org
Fri Oct 1 19:10:29 UTC 2021


    Date: Friday, October 1, 2021 @ 19:10:29
  Author: arojas
Revision: 1026533

Install qt6-webengine dictionaries

Modified:
  hunspell-el/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-01 19:09:53 UTC (rev 1026532)
+++ PKGBUILD	2021-10-01 19:10:29 UTC (rev 1026533)
@@ -3,7 +3,7 @@
 
 pkgname=hunspell-el
 pkgver=0.9
-pkgrel=6
+pkgrel=7
 
 pkgdesc="Greek hunspell dictionary"
 url="http://elspell.math.upatras.gr"
@@ -11,7 +11,7 @@
 license=('MPL' 'GPL' 'LGPL')
 
 optdepends=('hunspell: the spell checking libraries and apps')
-makedepends=('qt5-webengine')
+makedepends=('qt6-webengine')
 
 source=("http://elspell.math.upatras.gr/files/ooffice/el_GR-$pkgver.zip" LICENSE)
 
@@ -36,9 +36,10 @@
 	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
 
         # Install webengine dictionaries
-        install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
-	qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/el_GR.dic \
-	  "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/el_GR.bdic
+        install -d "$pkgdir"/usr/share/qt{,6}/qtwebengine_dictionaries/
+	/usr/lib/qt6/qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/el_GR.dic \
+	  "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/el_GR.bdic
+	ln -rs "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/el_GR.bdic "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
 
 	# fix file encoding - FS#68481
   	# check for broken files using



More information about the arch-commits mailing list