hunspell-es: 0.7 -> 2.2

This commit is contained in:
Alan Mizrahi 2017-05-26 14:53:36 +09:00
parent 32b26ade0b
commit 3ee531da43
4 changed files with 33 additions and 89 deletions

View File

@ -1,45 +1,43 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/hunspell/
-rw-r--r-- root/root usr/share/hunspell/es_ANY.aff
-rw-r--r-- root/root usr/share/hunspell/es_ANY.dic
-rw-r--r-- root/root usr/share/hunspell/es_AR.aff
-rw-r--r-- root/root usr/share/hunspell/es_AR.dic
lrwxrwxrwx root/root usr/share/hunspell/es_BO.aff -> es_AR.aff
-rw-r--r-- root/root usr/share/hunspell/es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_BO.dic
lrwxrwxrwx root/root usr/share/hunspell/es_CL.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_CL.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_CL.dic
-rw-r--r-- root/root usr/share/hunspell/es_CO.aff
-rw-r--r-- root/root usr/share/hunspell/es_CO.dic
lrwxrwxrwx root/root usr/share/hunspell/es_CR.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_CR.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_CR.dic
lrwxrwxrwx root/root usr/share/hunspell/es_CU.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_CU.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_CU.dic
lrwxrwxrwx root/root usr/share/hunspell/es_DO.aff -> es_AR.aff
-rw-r--r-- root/root usr/share/hunspell/es_DO.aff
-rw-r--r-- root/root usr/share/hunspell/es_DO.dic
lrwxrwxrwx root/root usr/share/hunspell/es_EC.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_EC.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_EC.dic
-rw-r--r-- root/root usr/share/hunspell/es_ES.aff
-rw-r--r-- root/root usr/share/hunspell/es_ES.dic
lrwxrwxrwx root/root usr/share/hunspell/es_GT.aff -> es_AR.aff
-rw-r--r-- root/root usr/share/hunspell/es_GT.aff
-rw-r--r-- root/root usr/share/hunspell/es_GT.dic
lrwxrwxrwx root/root usr/share/hunspell/es_HN.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_HN.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_HN.dic
lrwxrwxrwx root/root usr/share/hunspell/es_MX.aff -> es_CO.aff
-rw-r--r-- root/root usr/share/hunspell/es_MX.dic
lrwxrwxrwx root/root usr/share/hunspell/es_NI.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_NI.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_NI.dic
lrwxrwxrwx root/root usr/share/hunspell/es_PA.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_PA.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_PA.dic
lrwxrwxrwx root/root usr/share/hunspell/es_PE.aff -> es_CO.aff
-rw-r--r-- root/root usr/share/hunspell/es_PE.dic
lrwxrwxrwx root/root usr/share/hunspell/es_PR.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_PR.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_PR.dic
lrwxrwxrwx root/root usr/share/hunspell/es_PY.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_PY.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_PY.dic
lrwxrwxrwx root/root usr/share/hunspell/es_SV.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_SV.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_SV.dic
lrwxrwxrwx root/root usr/share/hunspell/es_UY.aff -> es_AR.aff
lrwxrwxrwx root/root usr/share/hunspell/es_UY.aff -> es_BO.aff
-rw-r--r-- root/root usr/share/hunspell/es_UY.dic
lrwxrwxrwx root/root usr/share/hunspell/es_VE.aff -> es_CO.aff
-rw-r--r-- root/root usr/share/hunspell/es_VE.dic

View File

@ -1,21 +1 @@
e3d4b38f280e7376178529db2ece982b es_ANY.oxt
68ee8f4ebc89a1fa461045d4dbb9b7be es_AR.oxt
1ebf11b6094e0bfece8e95cc34e7a409 es_BO.oxt
092a388101350b77af4fd789668582bd es_CL.oxt
fc440fd9fc55ca2dfb9bfa34a1e63864 es_CO.oxt
7510fd0f4eb3c6e65523a8d0960f77dd es_CR.oxt
0ab4b9638f58ddd3d95d1265918ff39e es_CU.oxt
24a20fd4d887693afef539e6f1a3b58e es_DO.oxt
5d7343a246323ceda58cfbbf1428e279 es_EC.oxt
59dd45e6785ed644adbbd73f4f126182 es_ES.oxt
b1a9be80687e3117c67ac46aad6b8d66 es_GT.oxt
d0db5bebd6925738b524de9709950f22 es_HN.oxt
0de780714f84955112f38f35fb63a894 es_MX.oxt
d259d7be17c34df76c7de40c80720a39 es_NI.oxt
085fbdbed6a2e248630c801881563b7a es_PA.oxt
f4673063246888995d4eaa2d4a24ee3d es_PE.oxt
e67bcf891ba9eeaeb57a60ec8e57f1ac es_PR.oxt
ba98e3197c81db4c572def2c5cca942d es_PY.oxt
c68ca9d188cb23c88cdd34a069c5a013 es_SV.oxt
aeb9d39e4d17e9c904c1f3567178aad6 es_UY.oxt
8afa9619aede2d9708e799e0f5d0fcab es_VE.oxt
436d9d3ca6079c3771687f7cafe47445 v2.2.zip

View File

@ -1,25 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/WbT95S9qbdgy/d6fmPtWQEFsEUp+ZZnLit8k9lQa7PMhho09+TLSpQ4wrRWJHWneGoGKqlj0gQ5rsS4pe6XlQ8=
SHA256 (Pkgfile) = eac3b80a6533a462790041dcf7d0c6bd4c1d86706a4379b90774a1a42c0d42be
SHA256 (.footprint) = 80b34d08477974435706802afd22601af7b69219da8cd8e0cfd71180ac9cb415
SHA256 (es_ANY.oxt) = a30804b7f78b2858f39ae4dc246002105838a1aa58246da6b81ab3993a79f650
SHA256 (es_AR.oxt) = 5b49ca4d3a16718bbfe2965dc4706d9f2e95311b27a5fd8a75cccdc36b9a663e
SHA256 (es_BO.oxt) = 3780bb2f4fa939080c4bf083961bba7c7a49c39b2bc7b8dc35fe039fb7b9c3c2
SHA256 (es_CL.oxt) = 0b795df4d605f1ce03e82ce7cc17e17baac2b58373f38503a23ff2f20cf0afc6
SHA256 (es_CO.oxt) = 0785a8757891c5924ea59ab42f360af58881e546dc4c0c5d016db46689f6a479
SHA256 (es_CR.oxt) = bb4f29839db81b30133275913d3a0b80ac2e520b84b6c6d74c484b02db321cdb
SHA256 (es_CU.oxt) = 777276e0d1a1f3ea4aea5e5509c19a0989e5b3aa50fa9a6f1922c53eb0a80008
SHA256 (es_DO.oxt) = 9c0484ebd8d5ef9ce56631fd3920494a4d51bbfa6c15b9ae9cc9021411337370
SHA256 (es_EC.oxt) = ee02b40c32e1e8b2ad0aaba5f882499c650d989a18a6ff5d96c1cff10f345a38
SHA256 (es_ES.oxt) = af31d8b59031508fa286756d8e0ea5a5e92e2192012d4b81ba200a2215ef240e
SHA256 (es_GT.oxt) = 21ed781b52e530a8a8cb1c070c06232a6515c98a793fb6a24c150b6ccf25ca27
SHA256 (es_HN.oxt) = 1b975fed174d71c3223dc5cb279a5fcb38ddb7bf76015aa19af56b2e0f4cd6d2
SHA256 (es_MX.oxt) = a0225a2f9db0c5211ff5a59f8bfd341b9cef5223c39a66d4648d523a84a2c226
SHA256 (es_NI.oxt) = 1759ba99637b36a78acfb4c5187190f337b676479dd2130dd0465ce6539ed4ac
SHA256 (es_PA.oxt) = a00303d219fb6445a94c35c5379db31ab985510a436de0deeefbc1b8462d3c8c
SHA256 (es_PE.oxt) = 4b8aa03bb9f9deaf13fd4f08328260eda1d0fd0217f9e1bdb646bf933a33268e
SHA256 (es_PR.oxt) = 1fe41e716347ef9c334f20838b346d327f09d3c6ee92f3675648685eca162bf8
SHA256 (es_PY.oxt) = d2c893ed8565f6b192f13d88e74ed5d1b2854ee12a3ea6e1d98e3d7e3b75e1d3
SHA256 (es_SV.oxt) = b4aeabc7333e3f9056dd3a73592f41605abf60fd8f15955525c7667bdd96e73e
SHA256 (es_UY.oxt) = fa6162b847476a73d3dd94fa4a3d42ab86f9e8bc0ce1dcc9def5a022c1cdcfe6
SHA256 (es_VE.oxt) = eacab6345b3b51b0818b090a44c0ab4056a9d5d0767accc4a9733542dc90b0ec
RWSE3ohX2g5d/blRASXFo6YyO7cvynSfMfFJfV1U6RbdhSLuGZSuS2zubuvRaeskc7JpF6xladCH4Atc0PR459EOJ6mA4f/Ehwo=
SHA256 (Pkgfile) = 73a285c2a349d44c6fc0ea77fcca914f786536f5f891ab8fe5dd62de5acb4c1d
SHA256 (.footprint) = 7d690fa1b212b59d424201c1b57c0fbfd4c973599011db185f35ab049cd85f4d
SHA256 (v2.2.zip) = 21caa64a141541982f5524ee9750b73b17fceab8e3ee9c248eba6a38ce658353

View File

@ -1,44 +1,31 @@
# Description: Hunspell dictionary for Spanish
# URL: https://forja.rediris.es/projects/rla-es/
# URL: https://github.com/sbosio/rla-es/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: hunspell
name=hunspell-es
version=0.7
version=2.2
release=1
source=(
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
)
source=(https://github.com/sbosio/rla-es/archive/v$version.zip)
build() {
mkdir -p $PKG/usr/share/hunspell
cd rla-es-$version
# Generate .oxt files
dicts="$(for i in $(find . -type d -name l10n); do ls $i; done |grep ^es_ |sort |uniq)"
cd $SRC/rla-es-$version/ortograf/herramientas
for dict in $dicts; do
./make_dict.sh -c -l=$dict
done
# Install .aff and .dic files
mkdir -p $PKG/usr/share/hunspell
for i in *.oxt; do
unzip -q -n $i '*.dic' '*.aff' -d $PKG/usr/share/hunspell
done
# Replace duplicate files with symbolic links
pushd $PKG/usr/share/hunspell
cd $PKG/usr/share/hunspell
(md5sum * | sort | uniq --repeated -w 32 --all-repeated=separate; echo) | \
while read sum name; do
if [ -n "$name" ]; then
@ -51,6 +38,5 @@ build() {
unset dups
fi
done
popd
}