hunspell-es: Moved from kde4 to opt

This commit is contained in:
Alan Mizrahi 2013-09-28 08:26:14 +09:00
parent edde4854ba
commit 7c67ade58a
3 changed files with 123 additions and 0 deletions

46
hunspell-es/.footprint Normal file
View File

@ -0,0 +1,46 @@
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.dic
lrwxrwxrwx root/root usr/share/hunspell/es_CL.aff -> es_AR.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
-rw-r--r-- root/root usr/share/hunspell/es_CR.dic
lrwxrwxrwx root/root usr/share/hunspell/es_CU.aff -> es_AR.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.dic
lrwxrwxrwx root/root usr/share/hunspell/es_EC.aff -> es_AR.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.dic
lrwxrwxrwx root/root usr/share/hunspell/es_HN.aff -> es_AR.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
-rw-r--r-- root/root usr/share/hunspell/es_NI.dic
lrwxrwxrwx root/root usr/share/hunspell/es_PA.aff -> es_AR.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
-rw-r--r-- root/root usr/share/hunspell/es_PR.dic
lrwxrwxrwx root/root usr/share/hunspell/es_PY.aff -> es_AR.aff
-rw-r--r-- root/root usr/share/hunspell/es_PY.dic
lrwxrwxrwx root/root usr/share/hunspell/es_SV.aff -> es_AR.aff
-rw-r--r-- root/root usr/share/hunspell/es_SV.dic
lrwxrwxrwx root/root usr/share/hunspell/es_UY.aff -> es_AR.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
-rw-r--r-- root/root usr/share/hunspell/hyph_es_ANY.dic

21
hunspell-es/.md5sum Normal file
View File

@ -0,0 +1,21 @@
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

56
hunspell-es/Pkgfile Normal file
View File

@ -0,0 +1,56 @@
# Description: Hunspell dictionary for Spanish
# URL: https://forja.rediris.es/projects/rla-es/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: hunspell
name=hunspell-es
version=0.7
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
)
build() {
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
(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
}