aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2017-02-12 12:25:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-18 07:54:03 +0700
commit43bee673691929bdd46a0092a9d819a2423f3a4a (patch)
treeb33bee030b20bedb9b6e5a85e0cf13c5bab5fe09 /office
parentf1d6b7289d01ffc4e143699434687826f40d0bce (diff)
office/hunspell-en: Updated for version 2017.01.22 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/hunspell-en/README11
-rw-r--r--office/hunspell-en/hunspell-en.SlackBuild18
-rw-r--r--office/hunspell-en/hunspell-en.info24
-rw-r--r--office/hunspell-en/slack-desc2
4 files changed, 37 insertions, 18 deletions
diff --git a/office/hunspell-en/README b/office/hunspell-en/README
index bd7a5198bba2..83348c76d6e3 100644
--- a/office/hunspell-en/README
+++ b/office/hunspell-en/README
@@ -1 +1,10 @@
-English hunspell dictionaries
+In this package are five dictionaries of English usage - Australian,
+Canadian, United States, and two forms of British English.
+
+The reason I've included two forms of British English dictionaries are:
+1. The -ise suffix is more commonly used by British speakers and all
+other forms such as en_DK, en_IE, en_IN, etc are symbolic links to
+en_GB-ise.
+2. the en_GB-ize/en_GB-oxendict which uses the -ize suffix is known
+as Oxford English Dictionary Spelling and is generally favored for
+academic, formal, and technical writing.
diff --git a/office/hunspell-en/hunspell-en.SlackBuild b/office/hunspell-en/hunspell-en.SlackBuild
index 8a8c624fb0a6..debd82f3504f 100644
--- a/office/hunspell-en/hunspell-en.SlackBuild
+++ b/office/hunspell-en/hunspell-en.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for hunspell-en
# Copyright 2014, Pablo Santamaria (pablosantamaria@gmail.com)
+# Copyright 2017 Donald Cooley South Haven, IN USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
# Based on the Arch PKGBUILD
PRGNAM=hunspell-en
-VERSION=${VERSION:-7.1}
+VERSION=${VERSION:-2017.01.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH="noarch"
@@ -44,7 +45,7 @@ rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-for file in hunspell-en_US-$VERSION-0.zip hunspell-en_CA-$VERSION-0.zip en_GB.zip ; do
+for file in hunspell-en_AU-$VERSION.zip hunspell-en_CA-$VERSION.zip hunspell-en_GB-ise-$VERSION.zip hunspell-en_GB-ize-$VERSION.zip hunspell-en_US-$VERSION.zip ; do
unzip $CWD/$file
done
@@ -52,10 +53,15 @@ install -dm755 $PKG/usr/share/hunspell
install -m644 en_*.dic en_*.aff $PKG/usr/share/hunspell
pushd $PKG/usr/share/hunspell/
-en_GB_aliases="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"
+en_GB_aliases="en_AG en_BS en_BW en_BZ en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NG en_NZ en_SG en_TT en_ZA en_ZW"
for lang in $en_GB_aliases; do
- ln -s en_GB.aff $lang.aff
- ln -s en_GB.dic $lang.dic
+ ln -s en_GB-ise.aff $lang.aff
+ ln -s en_GB-ise.dic $lang.dic
+done
+en_GB_oxford_aliases="en_GB-oxendict"
+for lang in $en_GB_oxford_aliases; do
+ ln -s en_GB-ize.aff $lang.aff
+ ln -s en_GB-ize.dic $lang.dic
done
en_US_aliases="en_PH"
for lang in $en_US_aliases; do
@@ -72,7 +78,7 @@ done
popd
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -m644 README_en_??.txt $PKG/usr/doc/$PRGNAM-$VERSION
+install -m644 README_en_*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/office/hunspell-en/hunspell-en.info b/office/hunspell-en/hunspell-en.info
index 8db7b0ba94b9..11d0589ed9ad 100644
--- a/office/hunspell-en/hunspell-en.info
+++ b/office/hunspell-en/hunspell-en.info
@@ -1,14 +1,18 @@
PRGNAM="hunspell-en"
-VERSION="7.1"
-HOMEPAGE="http://wordlist.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/wordlist/hunspell-en_US-7.1-0.zip \
- http://downloads.sourceforge.net/wordlist/hunspell-en_CA-7.1-0.zip \
- http://pkgs.fedoraproject.org/lookaside/pkgs/hunspell-en/en_GB.zip/218909136738f4564b81ecd145ade6ee/en_GB.zip"
-MD5SUM="8eb485db0a722eb29a5eca517a22e367 \
- 1921a5011d0f34e17d2e3f050d62a2c8 \
- 218909136738f4564b81ecd145ade6ee"
+VERSION="2017.01.22"
+HOMEPAGE="http://wordlist.aspell.net/dicts/"
+DOWNLOAD="http://downloads.sourceforge.net/wordlist/hunspell-en_AU-2017.01.22.zip \
+ http://downloads.sourceforge.net/wordlist/hunspell-en_CA-2017.01.22.zip \
+ http://sourceforge.net/projects/wordlist/files/speller/2017.01.22/hunspell-en_GB-ise-2017.01.22.zip \
+ http://sourceforge.net/projects/wordlist/files/speller/2017.01.22/hunspell-en_GB-ize-2017.01.22.zip \
+ http://downloads.sourceforge.net/wordlist/hunspell-en_US-2017.01.22.zip"
+MD5SUM="c55adaea27508bc55db4b4b27c6d9822 \
+ 10e7b9ae290217a127056897496d26ea \
+ dfdfdffda442324960a9c75e489a5e18 \
+ 2f514a3e2e847f4eac3ec14e43cc2d85 \
+ 9af4f5e765f02bce36c9ee91fcce02b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Pablo Santamaria"
-EMAIL="pablosantamaria@gmail.com"
+MAINTAINER="Donald Cooley"
+EMAIL="chytraeu@sdf.org"
diff --git a/office/hunspell-en/slack-desc b/office/hunspell-en/slack-desc
index 0391a202ac1c..2072cbdd5fbb 100644
--- a/office/hunspell-en/slack-desc
+++ b/office/hunspell-en/slack-desc
@@ -15,5 +15,5 @@ hunspell-en:
hunspell-en:
hunspell-en:
hunspell-en:
-hunspell-en:
+hunspell-en: http://wordlist.aspell.net/dicts/
hunspell-en: