[arch-commits] Commit in hunspell-el/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Nov 23 09:27:45 UTC 2019
Date: Saturday, November 23, 2019 @ 09:27:44
Author: arojas
Revision: 531993
Package webengine dictionaries
Modified:
hunspell-el/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-23 09:19:30 UTC (rev 531992)
+++ PKGBUILD 2019-11-23 09:27:44 UTC (rev 531993)
@@ -3,7 +3,7 @@
pkgname=hunspell-el
pkgver=0.9
-pkgrel=3
+pkgrel=4
pkgdesc="Greek hunspell dictionary"
url="http://elspell.math.upatras.gr"
@@ -11,6 +11,7 @@
license=('MPL' 'GPL' 'LGPL')
optdepends=('hunspell: the spell checking libraries and apps')
+makedepends=('qt5-webengine')
source=("http://elspell.math.upatras.gr/files/ooffice/el_GR-$pkgver.zip" LICENSE)
@@ -33,4 +34,11 @@
# docs
install -Dm644 README_el_GR.txt "$pkgdir"/usr/share/doc/"$pkgname"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+
+ # 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