modified package: hunspell-fr_FR added noarch yes and install the
documentation referred in the INSTALL.msg file
This commit is contained in:
parent
80d336526d
commit
5ae2692576
2 changed files with 14 additions and 8 deletions
|
@ -8,8 +8,6 @@
|
|||
|
||||
hunspell-fr_FR_moderne ==> Dictionnaire “Moderne”
|
||||
|
||||
hunspell-fr_FR_classique ==> Dictionnaire “Classique”
|
||||
|
||||
hunspell-fr_FR_reforme1990 ==> Dictionnaire “Réforme 1990”
|
||||
|
||||
hunspell-fr_FR_toutesvariantes ==> Dictionnaire “Toutes variantes”
|
||||
|
|
|
@ -10,11 +10,13 @@ short_desc="French dictionary for hunspell "
|
|||
distfiles="http://www.dicollecte.org/download/fr/hunspell-french-dictionaries-v${version}.zip"
|
||||
checksum="c5863f7592a8c4defe8b4ed2b3b45f6f10ef265d34ae9881c1f3bbb3b80bdd02"
|
||||
create_wrksrc=yes
|
||||
noarch=yes
|
||||
|
||||
do_install(){
|
||||
_variant="classique"
|
||||
vinstall fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||
vinstall fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||
vdoc README_dict_fr.txt
|
||||
}
|
||||
|
||||
hunspell-fr_FR-moderne_package() {
|
||||
|
@ -22,9 +24,11 @@ hunspell-fr_FR-moderne_package() {
|
|||
short_desc+=" - Moderne Variant"
|
||||
provides="${sourcepkg}-${version}_${revision}"
|
||||
replaces="${sourcepkg}>=0"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
vinstall fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||
vinstall fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||
vinstall fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||
vinstall fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||
vdoc README_dict_fr.txt
|
||||
}
|
||||
|
||||
hunspell-fr_FR-reforme1990_package() {
|
||||
|
@ -32,9 +36,11 @@ hunspell-fr_FR-reforme1990_package() {
|
|||
short_desc+=" - Reforme 1990 Variant"
|
||||
provides="${sourcepkg}-${version}_${revision}"
|
||||
replaces="${sourcepkg}>=0"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
vinstall fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||
vinstall fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||
vinstall fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||
vinstall fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||
vdoc README_dict_fr.txt
|
||||
}
|
||||
|
||||
hunspell-fr_FR-toutesvariantes_package() {
|
||||
|
@ -42,9 +48,11 @@ hunspell-fr_FR-toutesvariantes_package() {
|
|||
short_desc+=" - All variant in one file"
|
||||
provides="${sourcepkg}-${version}_${revision}"
|
||||
replaces="${sourcepkg}>=0"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
vinstall fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||
vinstall fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||
vinstall fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||
vinstall fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||
vdoc README_dict_fr.txt
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue