[arch-commits] Commit in hunspell-nl/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Nov 23 09:36:15 UTC 2019
Date: Saturday, November 23, 2019 @ 09:36:14
Author: arojas
Revision: 531995
Package webengine dictionaries
Modified:
hunspell-nl/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-23 09:28:07 UTC (rev 531994)
+++ PKGBUILD 2019-11-23 09:36:14 UTC (rev 531995)
@@ -3,7 +3,7 @@
pkgname=hunspell-nl
pkgver=2.10g
-pkgrel=4
+pkgrel=5
pkgdesc="Dutch hunspell dictionaries"
arch=('any')
url="https://www.opentaal.org/"
@@ -10,7 +10,7 @@
license=('BSD' 'custom:Creative Commons, Attribution 3.0 Unported')
depends=('hunspell')
optdepends=('hunspell: the spell checking libraries and apps')
-makedepends=('unzip')
+makedepends=('unzip' 'qt5-webengine')
# Upstream source http://opentaal.org/bestanden/license_result/20-woordenlijst-v-210g-voor-openofficeorg-3?bid=20&agree=1
source=('https://sources.archlinux.org/other/community/hunspell-nl/OpenTaal-210G-LO.oxt')
md5sums=('3c96686c2555e3ae23b5de06ba08631b')
@@ -43,4 +43,12 @@
# licences
install -D -m644 license_en_EN.txt $pkgdir/usr/share/licenses/$pkgname/license_en_EN.txt
+
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/nl_NL.dic "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/nl_NL.bdic
+ cd "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ for lang in $nl_NL_aliases; do
+ ln -s nl_NL.bdic $lang.bdic
+ done
}
More information about the arch-commits
mailing list