mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Merge pull request #821 from uberhacker/add-aspell-dictionaries
Add aspell dictionaries
This commit is contained in:
20
packages/aspell_en.rb
Normal file
20
packages/aspell_en.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
require 'package'
|
||||
|
||||
class Aspell_en < Package
|
||||
description 'English Aspell Dictionary'
|
||||
homepage 'ftp://ftp.gnu.org/gnu/aspell/dict/0index.html'
|
||||
version '2017.01.22-0'
|
||||
source_url 'ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-2017.01.22-0.tar.bz2'
|
||||
source_sha256 '93c73fae3eab5ea3ca6db3cea8770715a820f1b7d6ea2b932dd66a17f8fd55e1'
|
||||
|
||||
depends_on 'aspell'
|
||||
|
||||
def self.build
|
||||
system './configure'
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
20
packages/aspell_es.rb
Normal file
20
packages/aspell_es.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
require 'package'
|
||||
|
||||
class Aspell_es < Package
|
||||
description 'Spanish Aspell Dictionary'
|
||||
homepage 'ftp://ftp.gnu.org/gnu/aspell/dict/0index.html'
|
||||
version '1.11-2'
|
||||
source_url 'ftp://ftp.gnu.org/gnu/aspell/dict/es/aspell6-es-1.11-2.tar.bz2'
|
||||
source_sha256 'ad367fa1e7069c72eb7ae37e4d39c30a44d32a6aa73cedccbd0d06a69018afcc'
|
||||
|
||||
depends_on 'aspell'
|
||||
|
||||
def self.build
|
||||
system './configure'
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user