forked from ports/contrib
openoffice-dict-es-ve: added hyphenation and post-install script
This commit is contained in:
parent
99b31f9a85
commit
79031f8248
@ -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
|
||||
|
@ -1 +1,2 @@
|
||||
748e15e39e7c5b52877bd7f111196304 es_VE.zip
|
||||
d34ab9eefdb49147c57c01227eeb0c66 hyph_es_ES.zip
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
5
openoffice-dict-es-ve/post-install
Executable file
5
openoffice-dict-es-ve/post-install
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user