mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
25 lines
687 B
Ruby
25 lines
687 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_fr_fr', description: 'Français' },
|
|
{ value: 'hunspell_es_any', description: 'Español' }
|
|
]
|
|
|
|
depends_on Selector.new(options).show_prompt
|
|
end
|
|
end
|
|
end
|