[arch-commits] Commit in hunspell-en/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Thu Aug 9 19:33:53 UTC 2018
Date: Thursday, August 9, 2018 @ 19:33:53
Author: andyrtr
Revision: 331314
upgpkg: hunspell-en 2018.04.16-2
fix en_US, en_CA and en_AU spellchecking - FS#59401
Modified:
hunspell-en/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-09 19:06:40 UTC (rev 331313)
+++ PKGBUILD 2018-08-09 19:33:53 UTC (rev 331314)
@@ -4,7 +4,7 @@
pkgbase=hunspell-en
pkgname=('hunspell-en_US' 'hunspell-en_AU' 'hunspell-en_CA' 'hunspell-en_GB' 'hunspell-en')
pkgver=2018.04.16
-pkgrel=1
+pkgrel=2
pkgdesc="English hunspell dictionaries"
arch=(any)
url="http://wordlist.aspell.net/dicts/"
@@ -100,8 +100,8 @@
}
package_hunspell-en() {
- pkgdesc="English (US, UK, etc.) hunspell dictionaries"
- depends=('hunspell-en_US' 'hunspell-en_GB')
+ pkgdesc="all English (US, UK, etc.) hunspell dictionaries"
+ depends=('hunspell-en_US' 'hunspell-en_GB' 'hunspell-en_CA' 'hunspell-en_AU')
cd "$srcdir"
install -dm755 ${pkgdir}/usr/share/hunspell
@@ -112,11 +112,21 @@
ln -s en_GB-large.aff $lang.aff
ln -s en_GB-large.dic $lang.dic
done
- en_US_aliases="en_PH"
+ en_US_aliases="en_PH en_US"
for lang in $en_US_aliases; do
ln -s en_US-large.aff $lang.aff
ln -s en_US-large.dic $lang.dic
done
+ en_CA_aliases="en_CA"
+ for lang in $en_CA_aliases; do
+ ln -s en_CA-large.aff $lang.aff
+ ln -s en_CA-large.dic $lang.dic
+ done
+ en_AU_aliases="en_AU"
+ for lang in $en_AU_aliases; do
+ ln -s en_AU-large.aff $lang.aff
+ ln -s en_AU-large.dic $lang.dic
+ done
popd
# the symlinks
More information about the arch-commits
mailing list