Files
chromebrew/packages/hunspell_fr_fr.rb
chromebrew-actions[bot] b7f44296af Add unbuilt gnome_text_editor to updater-gnome_text_editor-49.0 — hunspell_es_us → 25.8.3.2,libspelling → 0.4.9,enchant → 2.8.12,gnome_text_editor → 49.0,gtksourceview_5 → 5.18.0,hunspell,hunspell_base → 1.7.2,hunspell_en_us → 25.8.3.2,hunspell_es_any → 6.4,hunspell_fr_fr → 25.8.3.2 (#13422)
* Add unbuilt gnome_text_editor to updater-gnome_text_editor-49.0

* Add binaries and add deps

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* updater-gnome_text_editor-49.0: Package File Update Run on linux/386 container.

* updater-gnome_text_editor-49.0: Package File Update Run on linux/amd64 container.

* updater-gnome_text_editor-49.0: Package File Update Run on linux/arm/v7 container.

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2025-11-11 22:38:53 +00:00

33 lines
1.1 KiB
Ruby

require 'package'
class Hunspell_fr_fr < Package
description 'Dictionnaire Français Hunspell'
homepage 'http://hunspell.github.io/'
version '25.8.3.2'
license 'MPL-1.1, GPL-2 and LGPL-2.1'
compatibility 'all'
source_url 'https://github.com/LibreOffice/dictionaries.git'
git_hashtag "libreoffice-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '4668fb78a8d93315d7dde45616d7e1ee885ffa8a3105cdf26502ed721f260c49',
armv7l: '4668fb78a8d93315d7dde45616d7e1ee885ffa8a3105cdf26502ed721f260c49',
i686: 'c70e2022033ece666397460e651198b0ba116afbcc1e7c5d23eedbdb1299b101',
x86_64: 'dbd5dfce530cbcb9ebd4da43691d7d70f3eb95c0e2f51912478be7179a86e76c'
})
depends_on 'hunspell_base'
def self.install
FileUtils.install 'fr_FR/fr.aff', "#{CREW_DEST_HOME}/Library/Spelling/fr_FR.aff", mode: 0o644
FileUtils.install 'fr_FR/fr.dic', "#{CREW_DEST_HOME}/Library/Spelling/fr_FR.dic", mode: 0o644
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/env.d/"
File.write "#{CREW_DEST_PREFIX}/etc/env.d/hunspell_fr_fr", <<~EOF
# Configuración de hunspell
export DICTIONARY=fr_FR
EOF
end
end