parent
5f9f5557da
commit
32e0fdb73b
|
@ -1,61 +1,59 @@
|
||||||
# Template file for 'hunspell-fr_FR'
|
# Template file for 'hunspell-fr_FR'
|
||||||
pkgname=hunspell-fr_FR
|
pkgname=hunspell-fr_FR
|
||||||
version=5.2
|
version=5.3
|
||||||
revision=2
|
revision=1
|
||||||
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
homepage="http://www.dicollecte.org/home.php?prj=fr"
|
homepage="http://www.dicollecte.org/home.php?prj=fr"
|
||||||
license="MPL-1.1"
|
license="MPL-1.1"
|
||||||
hostmakedepends="unzip"
|
hostmakedepends="unzip"
|
||||||
short_desc="French dictionary for hunspell"
|
short_desc="French dictionary for hunspell"
|
||||||
distfiles="http://www.dicollecte.org/download/fr/hunspell-french-dictionaries-v${version}.zip"
|
distfiles="http://www.dicollecte.org/download/fr/hunspell-french-dictionaries-v${version}.zip"
|
||||||
checksum="c5863f7592a8c4defe8b4ed2b3b45f6f10ef265d34ae9881c1f3bbb3b80bdd02"
|
checksum=604664c075140b889040a41575e211569eb4eece2ec0cf670ceb9f2a09024731
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
_variant="classique"
|
_variant="classique"
|
||||||
vinstall fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
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}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||||
vdoc README_dict_fr.txt
|
vdoc README_dict_fr.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
hunspell-fr_FR-moderne_package() {
|
hunspell-fr_FR-moderne_package() {
|
||||||
_variant="moderne"
|
_variant="moderne"
|
||||||
short_desc+=" - Moderne Variant"
|
short_desc+=" - Moderne Variant"
|
||||||
provides="${sourcepkg}-${version}_${revision}"
|
provides="${sourcepkg}-${version}_${revision}"
|
||||||
replaces="${sourcepkg}>=0"
|
replaces="${sourcepkg}>=0"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vinstall ${wrksrc}/fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
vinstall ${wrksrc}/fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||||
vinstall ${wrksrc}/fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
vinstall ${wrksrc}/fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||||
vdoc ${wrksrc}/README_dict_fr.txt
|
vdoc ${wrksrc}/README_dict_fr.txt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hunspell-fr_FR-reforme1990_package() {
|
hunspell-fr_FR-reforme1990_package() {
|
||||||
_variant="reforme1990"
|
_variant="reforme1990"
|
||||||
short_desc+=" - Reforme 1990 Variant"
|
short_desc+=" - Reforme 1990 Variant"
|
||||||
provides="${sourcepkg}-${version}_${revision}"
|
provides="${sourcepkg}-${version}_${revision}"
|
||||||
replaces="${sourcepkg}>=0"
|
replaces="${sourcepkg}>=0"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vinstall ${wrksrc}/fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
vinstall ${wrksrc}/fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||||
vinstall ${wrksrc}/fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
vinstall ${wrksrc}/fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||||
vdoc ${wrksrc}/README_dict_fr.txt
|
vdoc ${wrksrc}/README_dict_fr.txt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hunspell-fr_FR-toutesvariantes_package() {
|
hunspell-fr_FR-toutesvariantes_package() {
|
||||||
_variant="toutesvariantes"
|
_variant="toutesvariantes"
|
||||||
short_desc+=" - All variant in one file"
|
short_desc+=" - All variant in one file"
|
||||||
provides="${sourcepkg}-${version}_${revision}"
|
provides="${sourcepkg}-${version}_${revision}"
|
||||||
replaces="${sourcepkg}>=0"
|
replaces="${sourcepkg}>=0"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vinstall ${wrksrc}/fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
vinstall ${wrksrc}/fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
||||||
vinstall ${wrksrc}/fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
vinstall ${wrksrc}/fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
||||||
vdoc ${wrksrc}/README_dict_fr.txt
|
vdoc ${wrksrc}/README_dict_fr.txt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: set ts=4 sw=4 sts=4
|
|
||||||
|
|
Loading…
Reference in New Issue