aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorDhaby Xiloj <slack.dhabyx@gmail.com>2017-02-10 19:10:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-10 19:10:21 +0700
commit5c24d410d086bde26dc3af6e1cf1fecdee199c2a (patch)
treee15520be88702eb70a56e0ff7e77f8f4b2cdae92 /office
parenta406cf485f22a721593a431b05a8c96bf908fd6c (diff)
office/hunspell-es: Updated for version 2.2 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/hunspell-es/README6
-rw-r--r--office/hunspell-es/hunspell-es.SlackBuild49
-rw-r--r--office/hunspell-es/hunspell-es.info92
-rw-r--r--office/hunspell-es/slack-desc8
4 files changed, 98 insertions, 57 deletions
diff --git a/office/hunspell-es/README b/office/hunspell-es/README
index bf2e3d7b9ed8f..eca24eba06dba 100644
--- a/office/hunspell-es/README
+++ b/office/hunspell-es/README
@@ -1 +1,5 @@
-Spanish hunspell dictionaries
+Spanish hunspell dictionaries, this includes:
+
+* Spell checking libraries and apps
+* Spanish hypernation library functions
+* Spanish thesaurus
diff --git a/office/hunspell-es/hunspell-es.SlackBuild b/office/hunspell-es/hunspell-es.SlackBuild
index 04080d26bbd1b..a80bc5dc48c3f 100644
--- a/office/hunspell-es/hunspell-es.SlackBuild
+++ b/office/hunspell-es/hunspell-es.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for hunspell-es
-# Copyright 2014, Pablo Santamaria (pablosantamaria@gmail.com)
+# Copyright 2017 Dhaby Xiloj <slack.dhabyx@gmail.com>
+# Copyright 2014-2017 Pablo Santamaria (pablosantamaria@gmail.com)
# 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-es
-VERSION=${VERSION:-7.1}
+VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH="noarch"
@@ -35,6 +36,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+# Getting all localizations available
+LOCALIZATIONS=*.oxt
+LOCALIZATIONS=$(echo $LOCALIZATIONS | sed -e 's/es_ANY.oxt//g' | sed -e 's/.oxt//g')
+
set -e
rm -rf $PKG
@@ -45,21 +50,53 @@ mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
for file in $CWD/*.oxt ; do
- unzip -B $file
+ LANG=en_US.utf8 bsdtar -xf $file
done
+# Putting everything in proper place
install -dm755 $PKG/usr/share/hunspell
install -m644 es_*.dic es_*.aff $PKG/usr/share/hunspell
+install -Dm644 hyph_es_ANY.dic $PKG/usr/share/hyphen/hyph_es_ANY.dic
+install -dm755 $PKG/usr/share/mythes
+install -m644 th_es_ES_v2.* $PKG/usr/share/mythes
+# Symlinks for ditcs
install -dm755 $PKG/usr/share/myspell/dicts
pushd $PKG/usr/share/myspell/dicts
-for file in $PKGDIR/usr/share/hunspell/*; do
+ for file in $PKG/usr/share/hunspell/*; do
ln -sv ../../hunspell/$(basename $file) .
-done
+ done
+popd
+
+# Hypernation symlinks
+pushd $PKG/usr/share/hyphen/
+ echo $LOCALIZATIONS
+ for lang in $LOCALIZATIONS; do
+ ln -sv hyph_es_ANY.dic hyph_${lang}.dic
+ done
+popd
+
+# Thesaurus symlinks
+pushd $PKG/usr/share/mythes/
+ for lang in $(echo $LOCALIZATIONS | sed -e 's/es_ES//g'); do
+ ln -sv th_es_ES_v2.idx th_${lang}_v2.idx
+ ln -sv th_es_ES_v2.dat th_${lang}_v2.dat
+ done
+popd
+
+# myspell symlinks
+install -dm755 $PKG/usr/share/myspell/dicts
+pushd $PKG/usr/share/myspell/dicts
+ for file in $PKG/usr/share/hyphen/*; do
+ ln -sv ../../hyphen/$(basename $file) .
+ done
+ for file in $PKG/usr/share/mythes/*; do
+ ln -sv ../../mythes/$(basename $file) .
+ done
popd
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -m644 README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+install -m644 README* COPYING* $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-es/hunspell-es.info b/office/hunspell-es/hunspell-es.info
index ee9b472564c20..222e6697789fc 100644
--- a/office/hunspell-es/hunspell-es.info
+++ b/office/hunspell-es/hunspell-es.info
@@ -1,50 +1,50 @@
PRGNAM="hunspell-es"
-VERSION="7.1"
-HOMEPAGE="https://forja.rediris.es/projects/rla-es/"
-DOWNLOAD="http://forja.rediris.es/frs/download.php/2933/es_ANY.oxt \
- http://forja.rediris.es/frs/download.php/2953/es_AR.oxt \
- http://forja.rediris.es/frs/download.php/2952/es_BO.oxt \
- http://forja.rediris.es/frs/download.php/2951/es_CL.oxt \
- http://forja.rediris.es/frs/download.php/2950/es_CO.oxt \
- http://forja.rediris.es/frs/download.php/2949/es_CR.oxt \
- http://forja.rediris.es/frs/download.php/2948/es_CU.oxt \
- http://forja.rediris.es/frs/download.php/2947/es_DO.oxt \
- http://forja.rediris.es/frs/download.php/2946/es_EC.oxt \
- http://forja.rediris.es/frs/download.php/2945/es_ES.oxt \
- http://forja.rediris.es/frs/download.php/2944/es_GT.oxt \
- http://forja.rediris.es/frs/download.php/2943/es_HN.oxt \
- http://forja.rediris.es/frs/download.php/2942/es_MX.oxt \
- http://forja.rediris.es/frs/download.php/2941/es_NI.oxt \
- http://forja.rediris.es/frs/download.php/2940/es_PA.oxt \
- http://forja.rediris.es/frs/download.php/2939/es_PE.oxt \
- http://forja.rediris.es/frs/download.php/2938/es_PR.oxt \
- http://forja.rediris.es/frs/download.php/2937/es_PY.oxt \
- http://forja.rediris.es/frs/download.php/2936/es_SV.oxt \
- http://forja.rediris.es/frs/download.php/2935/es_UY.oxt \
- http://forja.rediris.es/frs/download.php/2934/es_VE.oxt"
-MD5SUM="e3d4b38f280e7376178529db2ece982b \
- 68ee8f4ebc89a1fa461045d4dbb9b7be \
- 1ebf11b6094e0bfece8e95cc34e7a409 \
- 092a388101350b77af4fd789668582bd \
- fc440fd9fc55ca2dfb9bfa34a1e63864 \
- 7510fd0f4eb3c6e65523a8d0960f77dd \
- 0ab4b9638f58ddd3d95d1265918ff39e \
- 24a20fd4d887693afef539e6f1a3b58e \
- 5d7343a246323ceda58cfbbf1428e279 \
- 59dd45e6785ed644adbbd73f4f126182 \
- b1a9be80687e3117c67ac46aad6b8d66 \
- d0db5bebd6925738b524de9709950f22 \
- 0de780714f84955112f38f35fb63a894 \
- d259d7be17c34df76c7de40c80720a39 \
- 085fbdbed6a2e248630c801881563b7a \
- f4673063246888995d4eaa2d4a24ee3d \
- e67bcf891ba9eeaeb57a60ec8e57f1ac \
- ba98e3197c81db4c572def2c5cca942d \
- c68ca9d188cb23c88cdd34a069c5a013 \
- aeb9d39e4d17e9c904c1f3567178aad6 \
- 8afa9619aede2d9708e799e0f5d0fcab"
+VERSION="2.2"
+HOMEPAGE="https://github.com/sbosio/rla-es"
+DOWNLOAD="https://github.com/sbosio/rla-es/releases/download/v2.2/es_ANY.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_AR.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_BO.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_CL.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_CO.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_CR.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_CU.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_DO.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_EC.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_ES.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_GT.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_HN.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_MX.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_NI.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_PA.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_PE.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_PR.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_PY.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_SV.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_UY.oxt \
+ https://github.com/sbosio/rla-es/releases/download/v2.2/es_VE.oxt"
+MD5SUM="5d2a621da5e00871f5d43537b343a7c5 \
+ 9c2e0eb4124a4f8bcc1f90fbcc22a729 \
+ 2ff909220bf829bb08651ad1243f766f \
+ 631ff1bd78a377077a84e91895db8554 \
+ b8030f0e018b9a0b879916c2bc6b99cc \
+ bfb8b65dc58cfadb456247b3739a830b \
+ 607df889fcd7f7f70cd31e5143a0ab22 \
+ 97ffa11e769f53f76f939dc1c5c45c6b \
+ 7639d8d83c64d45b34f88b2cb30771ad \
+ 8f6d52b55a41c1108234f625232131e4 \
+ 21291ce4ca017306321879706d6b8f52 \
+ e7076ac541f547a314359d1795255ee6 \
+ 69919517517437a75603173d0fa9cb2c \
+ cd573e82a11eacccd1cb12cfa6e89797 \
+ cd1a3ce9cf60621261b50c1cd975ba42 \
+ 5a8216aabea79171b7e2edaeb0077d6f \
+ 7953ae81200fb978a0d44d11fcc6b7fd \
+ 35795c6e097d2cff48774da834416988 \
+ 5a2b8f9a15542724a3ae12d7206af256 \
+ baea8f23e87f509023461df40d1239b2 \
+ 9c71676888b8fab9f4dd7b8a88a44c68"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Pablo Santamaria"
-EMAIL="pablosantamaria@gmail.com"
+MAINTAINER="Dhaby Xiloj"
+EMAIL="slack.dhabyx@gmail.com"
diff --git a/office/hunspell-es/slack-desc b/office/hunspell-es/slack-desc
index 0aaee9c038a6e..7ae968e5aa980 100644
--- a/office/hunspell-es/slack-desc
+++ b/office/hunspell-es/slack-desc
@@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
hunspell-es: hunspell-es (Spanish hunspell dictionaries)
hunspell-es:
-hunspell-es: Spanish hunspell dictionaries.
-hunspell-es:
-hunspell-es:
-hunspell-es:
+hunspell-es: Spanish hunspell dictionaries, this includes:
hunspell-es:
+hunspell-es: * Spell checking libraries and apps
+hunspell-es: * Spanish hypernation library functions
+hunspell-es: * Spanish thesaurus
hunspell-es:
hunspell-es:
hunspell-es: