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

Antonio Rojas arojas at archlinux.org
Sun Sep 8 11:25:45 UTC 2019


    Date: Sunday, September 8, 2019 @ 11:25:45
  Author: arojas
Revision: 362040

Install qtwebengine dictionaries

Modified:
  hunspell-it/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-08 11:21:11 UTC (rev 362039)
+++ PKGBUILD	2019-09-08 11:25:45 UTC (rev 362040)
@@ -4,12 +4,12 @@
 pkgver=2.4
 _pkgver=2_4
 _date=2007_09_01
-pkgrel=5
+pkgrel=6
 pkgdesc="Italian dictionary for Hunspell"
 arch=('any')
 url="https://sourceforge.net/projects/linguistico/"
 license=('GPL3')
-makedepends=('hunspell')
+makedepends=('hunspell' 'qt5-webengine')
 optdepends=('hunspell: the spell checking libraries and apps')
 source=("https://downloads.sourceforge.net/linguistico/italiano_${_pkgver}_${_date}.zip")
 md5sums=('e7fbd9e2dfb25ea3288cdb918e1e1260')
@@ -40,4 +40,11 @@
       ln -sv /usr/share/hunspell/$(basename $file) .
     done
   popd
+
+# Install webengine dictionaries
+  install -d "$pkgdir"/usr/share/qt/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}
+  done
 }



More information about the arch-commits mailing list