[arch-commits] Commit in hunspell-de/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Wed Sep 18 10:37:48 UTC 2019
Date: Wednesday, September 18, 2019 @ 10:37:48
Author: andyrtr
Revision: 362996
upgpkg: hunspell-de 20161207-3
install qtwebengine dictionaries
Modified:
hunspell-de/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-18 06:49:28 UTC (rev 362995)
+++ PKGBUILD 2019-09-18 10:37:48 UTC (rev 362996)
@@ -3,12 +3,12 @@
pkgname=hunspell-de
pkgver=20161207
-pkgrel=2
+pkgrel=3
pkgdesc="German hunspell dictionaries"
arch=('any')
url="https://www.j3e.de/ispell/igerman98/"
license=('GPL')
-makedepends=('hunspell' 'ispell')
+makedepends=('hunspell' 'ispell' 'qt5-webengine')
optdepends=('hunspell: the spell checking libraries and apps')
source=("https://www.j3e.de/ispell/igerman98/dict/igerman98-$pkgver.tar.bz2")
sha256sums=('17296f03c5fea62d76ecc530ebe80f6adc430278f58d472dc1842d71612960a8')
@@ -46,6 +46,13 @@
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
+
# docs
install -dm755 ${pkgdir}/usr/share/doc/$pkgname
cp -p README_de_??.txt $pkgdir/usr/share/doc/$pkgname
More information about the arch-commits
mailing list