[arch-commits] Commit in hunspell-hu/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Fri Oct 4 11:45:56 UTC 2019
Date: Friday, October 4, 2019 @ 11:45:55
Author: bgyorgy
Revision: 512710
upgpkg: hunspell-hu 1.7-2
Add bdic dictionary for qtwebengine
Modified:
hunspell-hu/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-04 11:11:34 UTC (rev 512709)
+++ PKGBUILD 2019-10-04 11:45:55 UTC (rev 512710)
@@ -3,16 +3,17 @@
pkgname=hunspell-hu
pkgver=1.7
-_lo_ver=6.1.4
-pkgrel=1
+_lo_ver=6.3.2
+pkgrel=2
pkgdesc="Hungarian hunspell dictionary"
arch=(any)
url="http://magyarispell.sourceforge.net/"
license=(LGPL GPL MPL)
+makedepends=('qt5-webengine')
optdepends=('hunspell: the spell checking libraries and apps')
source=(https://download.documentfoundation.org/libreoffice/stable/${_lo_ver}/rpm/x86_64/LibreOffice_${_lo_ver}_Linux_x86-64_rpm_langpack_hu.tar.gz{,.asc})
validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # "LibreOffice Build Team (CODE SIGNING KEY) <build at documentfoundation.org>"
-sha256sums=('93f8b987189a0ac52cbee9eaca74597e059479a43604b3d3ec409072909e3ab3'
+sha256sums=('07a45f1148d82286bd39b6f36b2adcdf766fb41e8a203f36e1f52940c8c27fa5'
'SKIP')
prepare() {
@@ -21,9 +22,13 @@
package() {
cd opt/libreoffice*/share/extensions/dict-hu/
- install -dm755 "$pkgdir/usr/share/hunspell"
+ install -dm755 "$pkgdir"/usr/share/{hunspell,qt/qtwebengine_dictionaries}
install -m644 -t "$pkgdir/usr/share/hunspell" hu_HU.dic hu_HU.aff
+ # Install webengine dictionary; the IGNORE command is not supported by bdic
+ sed -i '/^IGNORE/d' hu_HU.aff
+ qwebengine_convert_dict hu_HU.dic "$pkgdir/usr/share/qt/qtwebengine_dictionaries/hu_HU.bdic"
+
# the symlinks
install -dm755 "$pkgdir/usr/share/myspell/dicts"
pushd "$pkgdir/usr/share/myspell/dicts"
More information about the arch-commits
mailing list