hunspell-en: Moved from kde4 to opt
This commit is contained in:
parent
89f4990049
commit
edde4854ba
47
hunspell-en/.footprint
Normal file
47
hunspell-en/.footprint
Normal file
@ -0,0 +1,47 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/hunspell/
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_AG.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_AG.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_AU.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_AU.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_BS.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_BS.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_BW.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_BW.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_BZ.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_BZ.dic -> en_GB.dic
|
||||
-rw-r--r-- root/root usr/share/hunspell/en_CA.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
|
||||
-rw-r--r-- root/root usr/share/hunspell/en_GB.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
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_HK.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_IE.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_IE.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_IN.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_IN.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_JM.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_JM.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_NA.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_NA.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_NG.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_NG.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_NZ.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_NZ.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_PH.aff -> en_US.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_PH.dic -> en_US.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_SG.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_SG.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_TT.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_TT.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_US.aff -> en_CA.aff
|
||||
-rw-r--r-- root/root usr/share/hunspell/en_US.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_ZA.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_ZA.dic -> en_GB.dic
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_ZW.aff -> en_GB.aff
|
||||
lrwxrwxrwx root/root usr/share/hunspell/en_ZW.dic -> en_GB.dic
|
3
hunspell-en/.md5sum
Normal file
3
hunspell-en/.md5sum
Normal file
@ -0,0 +1,3 @@
|
||||
218909136738f4564b81ecd145ade6ee en_GB.zip
|
||||
1921a5011d0f34e17d2e3f050d62a2c8 hunspell-en_CA-7.1-0.zip
|
||||
8eb485db0a722eb29a5eca517a22e367 hunspell-en_US-7.1-0.zip
|
51
hunspell-en/Pkgfile
Normal file
51
hunspell-en/Pkgfile
Normal file
@ -0,0 +1,51 @@
|
||||
# Description: Hunspell dictionary for English
|
||||
# URL: http://wordlist.sourceforge.net/
|
||||
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
||||
# Depends on: hunspell
|
||||
|
||||
name=hunspell-en
|
||||
version=7.1
|
||||
release=1
|
||||
source=(
|
||||
http://downloads.sourceforge.net/wordlist/hunspell-en_US-$version-0.zip
|
||||
http://downloads.sourceforge.net/wordlist/hunspell-en_CA-$version-0.zip
|
||||
http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
|
||||
)
|
||||
|
||||
build() {
|
||||
declare -A missing
|
||||
missing[en_GB]="en_AG en_AU en_BS en_BW en_BZ en_DK en_GH en_HK en_IE en_IN en_JM en_NA en_NG en_NZ en_SG en_TT en_ZA en_ZW"
|
||||
missing[en_US]="en_PH"
|
||||
|
||||
mkdir -p $PKG/usr/share/hunspell
|
||||
|
||||
cp $SRC/*.aff $SRC/*.dic $PKG/usr/share/hunspell/
|
||||
|
||||
# Replace duplicate files with symbolic links
|
||||
pushd $PKG/usr/share/hunspell
|
||||
(md5sum * | sort | uniq --repeated -w 32 --all-repeated=separate; echo) | \
|
||||
while read sum name; do
|
||||
if [ -n "$name" ]; then
|
||||
[ -z "$dups" ] && declare -A dups
|
||||
dups[${#dups[*]}]=$name
|
||||
else
|
||||
for name in ${dups[@]}; do
|
||||
[ $name != ${dups[0]} ] && ln -s -f ${dups[0]} $name
|
||||
done
|
||||
unset dups
|
||||
fi
|
||||
done
|
||||
popd
|
||||
|
||||
# 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
|
||||
done
|
||||
popd
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user