Fabio Castelli pushed to branch main at Arch Linux / Packaging / Packages /
hspell
Commits:
9422cc17 by Fabio Castelli (Muflone) at 2026-08-17T19:24:27+02:00
upgpkg: 1.4-7
- - - - -
225e971b by Fabio Castelli (Muflone) at 2026-08-17T19:42:52+02:00
upgpkg: 1.4-7
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,9 +1,9 @@
pkgbase = hspell
pkgver = 1.4
- pkgrel = 6
+ pkgrel = 7
url = http://www.ivrix.org.il/
arch = x86_64
- license = GPL
+ license = AGPL-3.0-only
makedepends = glibc
makedepends = zlib
makedepends = perl
=====================================
PKGBUILD
=====================================
@@ -1,11 +1,12 @@
-# Maintainer: Tobias Powalowski <[email protected]>
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Tobias Powalowski <[email protected]>
pkgbase=hspell
pkgname=('hspell' 'hunspell-he')
pkgver=1.4
-pkgrel=6
+pkgrel=7
arch=('x86_64')
-license=('GPL')
+license=('AGPL-3.0-only')
url="http://www.ivrix.org.il/"
makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk' 'qt6-webengine')
options=('!makeflags')
@@ -16,7 +17,7 @@ validpgpkeys=('996512CD85DC510BD45EAD46415E26D84D4E37DB')
build() {
cd ${pkgname}-${pkgver}
- export PERLLIB="$PWD"
+ export PERLLIB="${PWD}"
./configure --prefix=/usr --mandir=/usr/share/man \
--enable-linginfo --enable-fatverb --enable-shared
make
@@ -24,7 +25,6 @@ build() {
}
package_hspell() {
-
pkgdesc="Hebrew spell-checker"
depends=('glibc' 'zlib' 'perl')
@@ -35,29 +35,32 @@ package_hspell() {
}
package_hunspell-he() {
-
pkgdesc="Hebrew hunspell dictionary"
provides=('hunspell-dictionary')
cd ${pkgbase}-${pkgver}
+ # Install files
+ install -dm755 "${pkgdir}/usr/share/hunspell"
+ install -m644 he.dic "${pkgdir}/usr/share/hunspell/he_IL.dic"
+ install -m644 he.aff "${pkgdir}/usr/share/hunspell/he_IL.aff"
- install -dm755 "$pkgdir"/usr/share/hunspell
- install -m644 he.dic "$pkgdir"/usr/share/hunspell/he_IL.dic
- install -m644 he.aff "$pkgdir"/usr/share/hunspell/he_IL.aff
-
- # the symlinks
- install -dm755 "$pkgdir"/usr/share/myspell/dicts
- pushd "$pkgdir"/usr/share/myspell/dicts
- for file in "$pkgdir"/usr/share/hunspell/*; do
- ln -sv /usr/share/hunspell/$(basename $file) .
- done
+ # Install symlinks
+ install -dm755 "${pkgdir}/usr/share/myspell/dicts"
+ pushd "${pkgdir}/usr/share/myspell/dicts"
+ for _file in "${pkgdir}/usr/share/hunspell"/*
+ do
+ ln -sv "/usr/share/hunspell/$(basename ${_file})" .
+ done
popd
-# Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt{,6}/qtwebengine_dictionaries/
- for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename=$(basename $_file)
- /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/
+ # Install webengine dictionaries
+ install -d "${pkgdir}/usr/share"/qt{,6}/qtwebengine_dictionaries/
+ for _file in "${pkgdir}/usr/share"/hunspell*/*.dic
+ do
+ _filename="$(basename ${_file})"
+ /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
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/hspell/-/compare/0d0ef5345f4e9bcefb41bb171332ed8682d09520...225e971b148e45b2d3947d386b83ec9701dd02a9
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/hspell/-/compare/0d0ef5345f4e9bcefb41bb171332ed8682d09520...225e971b148e45b2d3947d386b83ec9701dd02a9
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help