2014-10-19 09:09:19 +00:00
|
|
|
# Template file for 'hunspell-fr_FR'
|
|
|
|
pkgname=hunspell-fr_FR
|
|
|
|
version=5.2
|
2014-10-19 09:34:36 +00:00
|
|
|
revision=2
|
2014-10-19 09:09:19 +00:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
|
|
|
homepage="http://www.dicollecte.org/home.php?prj=fr"
|
2014-10-19 09:34:36 +00:00
|
|
|
license="MPL-1.1"
|
2014-10-19 09:09:19 +00:00
|
|
|
hostmakedepends="unzip"
|
2014-10-19 09:34:36 +00:00
|
|
|
short_desc="French dictionary for hunspell"
|
2014-10-19 09:09:19 +00:00
|
|
|
distfiles="http://www.dicollecte.org/download/fr/hunspell-french-dictionaries-v${version}.zip"
|
|
|
|
checksum="c5863f7592a8c4defe8b4ed2b3b45f6f10ef265d34ae9881c1f3bbb3b80bdd02"
|
|
|
|
create_wrksrc=yes
|
2014-10-19 09:16:21 +00:00
|
|
|
noarch=yes
|
2014-10-19 09:09:19 +00:00
|
|
|
|
2014-10-19 09:25:51 +00:00
|
|
|
do_install() {
|
2014-10-19 09:09:19 +00:00
|
|
|
_variant="classique"
|
|
|
|
vinstall fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
|
|
|
vinstall fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
2014-10-19 09:16:21 +00:00
|
|
|
vdoc README_dict_fr.txt
|
2014-10-19 09:09:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
hunspell-fr_FR-moderne_package() {
|
|
|
|
_variant="moderne"
|
|
|
|
short_desc+=" - Moderne Variant"
|
|
|
|
provides="${sourcepkg}-${version}_${revision}"
|
|
|
|
replaces="${sourcepkg}>=0"
|
2014-10-19 09:16:21 +00:00
|
|
|
noarch=yes
|
2014-10-19 09:09:19 +00:00
|
|
|
pkg_install() {
|
2014-10-19 09:29:17 +00:00
|
|
|
vinstall ${wrksrc}/fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
|
|
|
vinstall ${wrksrc}/fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
|
|
|
vdoc ${wrksrc}/README_dict_fr.txt
|
2014-10-19 09:25:51 +00:00
|
|
|
}
|
2014-10-19 09:09:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
hunspell-fr_FR-reforme1990_package() {
|
|
|
|
_variant="reforme1990"
|
|
|
|
short_desc+=" - Reforme 1990 Variant"
|
|
|
|
provides="${sourcepkg}-${version}_${revision}"
|
|
|
|
replaces="${sourcepkg}>=0"
|
2014-10-19 09:16:21 +00:00
|
|
|
noarch=yes
|
2014-10-19 09:09:19 +00:00
|
|
|
pkg_install() {
|
2014-10-19 09:29:17 +00:00
|
|
|
vinstall ${wrksrc}/fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
|
|
|
vinstall ${wrksrc}/fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
|
|
|
vdoc ${wrksrc}/README_dict_fr.txt
|
2014-10-19 09:25:51 +00:00
|
|
|
}
|
2014-10-19 09:09:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
hunspell-fr_FR-toutesvariantes_package() {
|
|
|
|
_variant="toutesvariantes"
|
|
|
|
short_desc+=" - All variant in one file"
|
|
|
|
provides="${sourcepkg}-${version}_${revision}"
|
|
|
|
replaces="${sourcepkg}>=0"
|
2014-10-19 09:16:21 +00:00
|
|
|
noarch=yes
|
2014-10-19 09:09:19 +00:00
|
|
|
pkg_install() {
|
2014-10-19 09:29:17 +00:00
|
|
|
vinstall ${wrksrc}/fr-${_variant}.aff 644 /usr/share/hunspell fr_FR.aff
|
|
|
|
vinstall ${wrksrc}/fr-${_variant}.dic 644 /usr/share/hunspell fr_FR.dic
|
|
|
|
vdoc ${wrksrc}/README_dict_fr.txt
|
2014-10-19 09:25:51 +00:00
|
|
|
}
|
2014-10-19 09:09:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim: set ts=4 sw=4 sts=4
|