summaryrefslogtreecommitdiff
path: root/hunspell-en
diff options
context:
space:
mode:
authorAlan Mizrahi <alan+crux@mizrahi.com.ve>2013-09-28 08:26:00 +0900
committerAlan Mizrahi <alan+crux@mizrahi.com.ve>2013-09-28 08:26:00 +0900
commitedde4854baf446d5dfcab6419880048439e725f2 (patch)
treec00a5b2843cc5e80c2ebcd91774307cfd6b096db /hunspell-en
parent89f49900499bbccec40ecd170da8f2b7a0fda5ed (diff)
downloadopt-edde4854baf446d5dfcab6419880048439e725f2.tar.gz
opt-edde4854baf446d5dfcab6419880048439e725f2.tar.xz
hunspell-en: Moved from kde4 to opt
Diffstat (limited to 'hunspell-en')
-rw-r--r--hunspell-en/.footprint47
-rw-r--r--hunspell-en/.md5sum3
-rw-r--r--hunspell-en/Pkgfile51
3 files changed, 101 insertions, 0 deletions
diff --git a/hunspell-en/.footprint b/hunspell-en/.footprint
new file mode 100644
index 000000000..a40a678f8
--- /dev/null
+++ b/hunspell-en/.footprint
@@ -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
diff --git a/hunspell-en/.md5sum b/hunspell-en/.md5sum
new file mode 100644
index 000000000..5801e50d8
--- /dev/null
+++ b/hunspell-en/.md5sum
@@ -0,0 +1,3 @@
+218909136738f4564b81ecd145ade6ee en_GB.zip
+1921a5011d0f34e17d2e3f050d62a2c8 hunspell-en_CA-7.1-0.zip
+8eb485db0a722eb29a5eca517a22e367 hunspell-en_US-7.1-0.zip
diff --git a/hunspell-en/Pkgfile b/hunspell-en/Pkgfile
new file mode 100644
index 000000000..73102d2bb
--- /dev/null
+++ b/hunspell-en/Pkgfile
@@ -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
+}

Generated by cgit