Files
chromebrew/packages/hunspell.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

26 lines
765 B
Ruby

require 'package'
Package.load_package("#{__dir__}/hunspell_en_us.rb")
class Hunspell < Package
description 'Hunspell is a spell checker and morphological analyzer library'
homepage 'https://hunspell.github.io/'
version Hunspell_en_us.version
license 'MPL-1.1, GPL-2 and LGPL-2.1'
compatibility 'all'
is_fake
def self.preflight
if ARGV.include?('install')
options = [
{ value: 'hunspell_en_us', description: 'American English' },
{ value: 'hunspell_es_us', description: 'Spanish (United States)' },
{ value: 'hunspell_fr_fr', description: 'Français' },
{ value: 'hunspell_es_any', description: 'Español' }
]
depends_on Selector.new(options).show_prompt
end
end
end