[arch-commits] Commit in hunspell-pl/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Oct 1 19:43:47 UTC 2021
Date: Friday, October 1, 2021 @ 19:43:47
Author: arojas
Revision: 1026565
Install qt6-webengine dictionaries
Modified:
hunspell-pl/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-01 19:41:33 UTC (rev 1026564)
+++ PKGBUILD 2021-10-01 19:43:47 UTC (rev 1026565)
@@ -4,13 +4,13 @@
pkgname=hunspell-pl
pkgver=20210731
-pkgrel=1
+pkgrel=2
pkgdesc='Polish dictionary for Hunspell'
arch=('any')
url='https://www.sjp.pl/slownik/ort/'
license=('GPL')
optdepends=('hunspell: the spell checking libraries and apps')
-makedepends=('qt5-webengine')
+makedepends=('qt6-webengine')
source=(https://sources.archlinux.org/other/community/hunspell-pl/sjp-myspell-pl-$pkgver.zip)
sha256sums=('40dda0324406ba053e7fcb9ef96fd6658bb48de048d03fef96fb17103a585f44')
@@ -46,6 +46,7 @@
install -m644 README_pl_PL.txt "$pkgdir"/usr/share/doc/$pkgname
# Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
- qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/pl_PL.dic "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/pl_PL.bdic
+ install -d "$pkgdir"/usr/share/qt{,6}/qtwebengine_dictionaries/
+ /usr/lib/qt6/qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/pl_PL.dic "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/pl_PL.bdic
+ ln -rs "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/pl_PL.bdic "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
}
More information about the arch-commits
mailing list