[arch-commits] Commit in hspell/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Oct 1 19:33:30 UTC 2021
Date: Friday, October 1, 2021 @ 19:33:29
Author: arojas
Revision: 425011
Install qt6-webengine dictionaries
Modified:
hspell/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-01 19:27:19 UTC (rev 425010)
+++ PKGBUILD 2021-10-01 19:33:29 UTC (rev 425011)
@@ -3,11 +3,11 @@
pkgbase=hspell
pkgname=('hspell' 'hunspell-he')
pkgver=1.4
-pkgrel=3
+pkgrel=4
arch=('x86_64')
license=('GPL')
url="http://www.ivrix.org.il/projects/spell-checker/"
-makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk' 'qt5-webengine')
+makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk' 'qt6-webengine')
options=('!makeflags')
source=(http://hspell.ivrix.org.il/${pkgname}-${pkgver}.tar.gz{,.sig})
sha256sums=('7310f5d58740d21d6d215c1179658602ef7da97a816bc1497c8764be97aabea3'
@@ -52,10 +52,11 @@
done
popd
-# Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+# Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt{,6}/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}
+ /usr/lib/qt6/qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ ln -rs "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic} "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
done
}
More information about the arch-commits
mailing list