Date: Friday, October 1, 2021 @ 19:37:36 Author: arojas Revision: 1026550
Install qt6-webengine dictionaries Modified: hunspell-hu/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-10-01 19:36:57 UTC (rev 1026549) +++ PKGBUILD 2021-10-01 19:37:36 UTC (rev 1026550) @@ -3,17 +3,17 @@ pkgname=hunspell-hu pkgver=1.7 -_lo_ver=6.3.2 -pkgrel=2 +_lo_ver=7.2.1 +pkgrel=3 pkgdesc="Hungarian hunspell dictionary" arch=(any) url="http://magyarispell.sourceforge.net/" license=(LGPL GPL MPL) -makedepends=('qt5-webengine') +makedepends=('qt6-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) <[email protected]>" -sha256sums=('07a45f1148d82286bd39b6f36b2adcdf766fb41e8a203f36e1f52940c8c27fa5' +sha256sums=('727d0ea3e6937bf5cdd30472b89909e992c4bfe1bc12d538a13df609f0aa00de' 'SKIP') prepare() { @@ -22,12 +22,13 @@ package() { cd opt/libreoffice*/share/extensions/dict-hu/ - install -dm755 "$pkgdir"/usr/share/{hunspell,qt/qtwebengine_dictionaries} + install -dm755 "$pkgdir"/usr/share/{hunspell,qt{,6}/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" + /usr/lib/qt6/qwebengine_convert_dict hu_HU.dic "$pkgdir/usr/share/qt6/qtwebengine_dictionaries/hu_HU.bdic" + ln -rs "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/hu_HU.bdic "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/ # the symlinks install -dm755 "$pkgdir/usr/share/myspell/dicts"
