Merge pull request #596 from onekk/master
New Package: hunspell-fr_FR french dictionaries for hunspell/myspell
This commit is contained in:
commit
cf53c9cbbf
5 changed files with 82 additions and 0 deletions
1
srcpkgs/hunspell-fr_FR-moderne
Symbolic link
1
srcpkgs/hunspell-fr_FR-moderne
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
hunspell-fr_FR
|
1
srcpkgs/hunspell-fr_FR-reforme1990
Symbolic link
1
srcpkgs/hunspell-fr_FR-reforme1990
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
hunspell-fr_FR
|
1
srcpkgs/hunspell-fr_FR-toutesvariantes
Symbolic link
1
srcpkgs/hunspell-fr_FR-toutesvariantes
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
hunspell-fr_FR
|
20
srcpkgs/hunspell-fr_FR/INSTALL.msg
Normal file
20
srcpkgs/hunspell-fr_FR/INSTALL.msg
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
NOTICE:
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
This Package install the "classique" variant of the french dictionary:
|
||||||
|
|
||||||
|
If you don't like this variant select the package with your desidered
|
||||||
|
variant of the dictionary following this table:
|
||||||
|
|
||||||
|
|
||||||
|
hunspell-fr_FR_moderne ==> Dictionnaire “Moderne”
|
||||||
|
|
||||||
|
hunspell-fr_FR_reforme1990 ==> Dictionnaire “Réforme 1990”
|
||||||
|
|
||||||
|
hunspell-fr_FR_toutesvariantes ==> Dictionnaire “Toutes variantes”
|
||||||
|
|
||||||
|
See the README_dict_fr.txt in the doc directory for the explanation of
|
||||||
|
the variants.
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
Void Mantainers
|
59
srcpkgs/hunspell-fr_FR/template
Normal file
59
srcpkgs/hunspell-fr_FR/template
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
# Template file for 'hunspell-fr_FR'
|
||||||
|
pkgname=hunspell-fr_FR
|
||||||
|
version=5.2
|
||||||
|
revision=1
|
||||||
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
||||||
|
homepage="http://www.dicollecte.org/home.php?prj=fr"
|
||||||
|
license="MPL"
|
||||||
|
hostmakedepends="unzip"
|
||||||
|
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() {
|
||||||
|
_variant="moderne"
|
||||||
|
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
|
||||||
|
vdoc README_dict_fr.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
hunspell-fr_FR-reforme1990_package() {
|
||||||
|
_variant="reforme1990"
|
||||||
|
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
|
||||||
|
vdoc README_dict_fr.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
hunspell-fr_FR-toutesvariantes_package() {
|
||||||
|
_variant="toutesvariantes"
|
||||||
|
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
|
||||||
|
vdoc README_dict_fr.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# vim: set ts=4 sw=4 sts=4
|
Loading…
Reference in a new issue