diff options
author | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2006-11-13 08:15:20 -0400 |
---|---|---|
committer | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2006-11-13 08:15:20 -0400 |
commit | 79031f82482d05090c74e752fcdb72e0e0eeca73 (patch) | |
tree | edea68f341f1e39cb75a4efe4d3de68eed704f65 /openoffice-dict-es-ve | |
parent | 99b31f9a85dec217e9e1ad9bf1ca0610575ac421 (diff) | |
download | contrib-79031f82482d05090c74e752fcdb72e0e0eeca73.tar.gz contrib-79031f82482d05090c74e752fcdb72e0e0eeca73.tar.xz |
openoffice-dict-es-ve: added hyphenation and post-install script
Diffstat (limited to 'openoffice-dict-es-ve')
-rw-r--r-- | openoffice-dict-es-ve/.footprint | 1 | ||||
-rw-r--r-- | openoffice-dict-es-ve/.md5sum | 1 | ||||
-rw-r--r-- | openoffice-dict-es-ve/Pkgfile | 12 | ||||
-rw-r--r-- | openoffice-dict-es-ve/README | 1 | ||||
-rwxr-xr-x | openoffice-dict-es-ve/post-install | 5 |
5 files changed, 14 insertions, 6 deletions
diff --git a/openoffice-dict-es-ve/.footprint b/openoffice-dict-es-ve/.footprint index 443897ebb..1aa292c2a 100644 --- a/openoffice-dict-es-ve/.footprint +++ b/openoffice-dict-es-ve/.footprint @@ -6,3 +6,4 @@ drwxr-xr-x root/root usr/lib/openoffice/share/dict/ drwxr-xr-x root/root usr/lib/openoffice/share/dict/ooo/ -rw-r--r-- root/root usr/lib/openoffice/share/dict/ooo/es_VE.aff -rw-r--r-- root/root usr/lib/openoffice/share/dict/ooo/es_VE.dic +-rw-r--r-- root/root usr/lib/openoffice/share/dict/ooo/hyph_es_ES.dic diff --git a/openoffice-dict-es-ve/.md5sum b/openoffice-dict-es-ve/.md5sum index a48209351..4d025413b 100644 --- a/openoffice-dict-es-ve/.md5sum +++ b/openoffice-dict-es-ve/.md5sum @@ -1 +1,2 @@ 748e15e39e7c5b52877bd7f111196304 es_VE.zip +d34ab9eefdb49147c57c01227eeb0c66 hyph_es_ES.zip diff --git a/openoffice-dict-es-ve/Pkgfile b/openoffice-dict-es-ve/Pkgfile index b04d1929e..22168cc94 100644 --- a/openoffice-dict-es-ve/Pkgfile +++ b/openoffice-dict-es-ve/Pkgfile @@ -1,15 +1,15 @@ -# Description: OpenOffice spanish dictionary for Venezuela -# URL: http://lingucomponent.openoffice.org/ +# Description: OpenOffice spanish dictionary and hyphenation for Venezuela +# URL: http://lingucomponent.openoffice.org/ # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve -# Depends on: openoffice +# Depends on: openoffice name=openoffice-dict-es-ve -version=0.1 +version=0.2 release=1 -source=(http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/es_VE.zip) +source=(http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/es_VE.zip http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_es_ES.zip) build () { install -D -o root -g root -m 644 es_VE.aff $PKG/usr/lib/openoffice/share/dict/ooo/es_VE.aff install -D -o root -g root -m 644 es_VE.dic $PKG/usr/lib/openoffice/share/dict/ooo/es_VE.dic - + install -D -o root -g root -m 644 hyph_es_ES.dic $PKG/usr/lib/openoffice/share/dict/ooo/hyph_es_ES.dic } diff --git a/openoffice-dict-es-ve/README b/openoffice-dict-es-ve/README index 0a2426f82..2e8d2eaa9 100644 --- a/openoffice-dict-es-ve/README +++ b/openoffice-dict-es-ve/README @@ -2,3 +2,4 @@ POST-INSTALL * echo "DICT es VE es_VE" >> /usr/lib/openoffice/share/dict/ooo/dictionary.lst + * echo "HYPH es VE hyph_es_ES" >> /usr/lib/openoffice/share/dict/ooo/dictionary.lst diff --git a/openoffice-dict-es-ve/post-install b/openoffice-dict-es-ve/post-install new file mode 100755 index 000000000..dcdb289cf --- /dev/null +++ b/openoffice-dict-es-ve/post-install @@ -0,0 +1,5 @@ +#!/bin/sh +[ -z "`grep -i '^\ *DICT\ *es\ *VE' /usr/lib/openoffice/share/dict/ooo/dictionary.lst`" ] && \ + echo "DICT es VE es_VE" >> /usr/lib/openoffice/share/dict/ooo/dictionary.lst +[ -z "`grep -i '^\ *HYPH\ *es\ *VE\ *hyph_es_ES' /usr/lib/openoffice/share/dict/ooo/dictionary.lst`" ] && \ + echo "HYPH es VE hyph_es_ES" >> /usr/lib/openoffice/share/dict/ooo/dictionary.lst |