diff options
Diffstat (limited to 'office/hunspell-en/hunspell-en.SlackBuild')
-rw-r--r-- | office/hunspell-en/hunspell-en.SlackBuild | 18 |
1 files changed, 12 insertions, 6 deletions
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 |