hunspell-en: fix symlink, closes FS#1712
This commit is contained in:
parent
87a873d04b
commit
5d81d56554
@ -15,8 +15,8 @@ lrwxrwxrwx root/root usr/share/hunspell/en_CA.aff -> en_AU.aff
|
||||
-rw-r--r-- root/root usr/share/hunspell/en_CA.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_DK.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_DK.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_GB-ise.aff -> en_AU.aff
|
||||
-rw-r--r-- root/root usr/share/hunspell/en_GB-ise.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_GB.aff -> en_AU.aff
|
||||
-rw-r--r-- root/root usr/share/hunspell/en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_GH.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_GH.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_HK.aff -> en_GB.aff
|
||||
|
@ -1,7 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/TXiAw2jZIDfaoP2+WJNCF1oxibxCc4cdxc6sEIALkUM4riT9Mkvh9d0r2a5NPA0UFFM1o4pLPl6F9TR82QbrQA=
|
||||
SHA256 (Pkgfile) = 0635845363b65b467e845290e62cd470e8a9d2ac6af9e2014ac9c74f3749af8d
|
||||
SHA256 (.footprint) = 05cffeadc2e4df27b4e84704d493f6f1f9f942d0676aec75587abc0da31cf7f8
|
||||
RWSE3ohX2g5d/b8iT2NSJVAULWRlWEeXfmVzf938b/N7Qr2d0isK2EA8nfLI6Ms0wrsDxARV8MPTyVYIKr041sI9IyiMnBsA/ws=
|
||||
SHA256 (Pkgfile) = 4c9a7fe797e5352e50ba7b5d20029f0c3fb1f8081b3ce03a0e3a89c1912c396c
|
||||
SHA256 (.footprint) = 3a4f491b6b54373a7ec694870df58feb5cc6c179319edce07442147cb64540b5
|
||||
SHA256 (hunspell-en_AU-2017.01.22.zip) = 03e833853149d7156b5a86fd3177764ca4e1e3a1a78d8fa489284171d924abec
|
||||
SHA256 (hunspell-en_US-2017.01.22.zip) = 512468d80eee680358fc8a9a877f315c65218dcb14a880c819f8fc9d401d6c6b
|
||||
SHA256 (hunspell-en_CA-2017.01.22.zip) = ef8f39eff987b72c788ae5a66f86895b3d0c5dd321b87d18fa5f26aa51d53f04
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
name=hunspell-en
|
||||
version=2017.01.22
|
||||
release=1
|
||||
release=2
|
||||
source=(
|
||||
http://downloads.sourceforge.net/wordlist/speller/$version/hunspell-en_AU-$version.zip
|
||||
http://downloads.sourceforge.net/wordlist/speller/$version/hunspell-en_US-$version.zip
|
||||
@ -21,6 +21,8 @@ build() {
|
||||
mkdir -p $PKG/usr/share/hunspell
|
||||
|
||||
cp $SRC/*.aff $SRC/*.dic $PKG/usr/share/hunspell/
|
||||
mv $PKG/usr/share/hunspell/{en_GB-ise.aff,en_GB.aff}
|
||||
mv $PKG/usr/share/hunspell/{en_GB-ise.dic,en_GB.dic}
|
||||
|
||||
# Replace duplicate files with symbolic links
|
||||
pushd $PKG/usr/share/hunspell
|
||||
@ -41,9 +43,7 @@ build() {
|
||||
# Create symbolic links for missing dictionaries
|
||||
pushd $PKG/usr/share/hunspell
|
||||
for lang in ${!missing[@]}; do
|
||||
echo "source language is $lang"
|
||||
for new in ${missing[$lang]}; do
|
||||
echo "new language is $new"
|
||||
ln -s $lang.aff $new.aff
|
||||
ln -s $lang.dic $new.dic
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user