Commit 170ff59a authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update atom from 1.42.0 to 1.43.0 (#3806)

parent 3b6351bc
...@@ -3,7 +3,7 @@ require 'package' ...@@ -3,7 +3,7 @@ require 'package'
class Atom < Package class Atom < Package
description 'The hackable text editor' description 'The hackable text editor'
homepage 'https://atom.io/' homepage 'https://atom.io/'
version '1.42.0' version '1.43.0'
case ARCH case ARCH
when 'x86_64' when 'x86_64'
source_url 'file:///dev/null' source_url 'file:///dev/null'
...@@ -11,10 +11,10 @@ class Atom < Package ...@@ -11,10 +11,10 @@ class Atom < Package
end end
binary_url ({ binary_url ({
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/atom-1.42.0-chromeos-x86_64.tar.xz' x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/atom-1.43.0-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
x86_64: '7835a7ba3e5a0cd9a02beb36e94fe41605535ab5fd073aa24306c1c60b087084' x86_64: '435736336fa7d108a318b11ebe92fc7266abf0b14ee59fd8d2890a722483cb01',
}) })
depends_on 'alien' => :build depends_on 'alien' => :build
...@@ -25,8 +25,8 @@ class Atom < Package ...@@ -25,8 +25,8 @@ class Atom < Package
def self.build def self.build
system "wget https://github.com/atom/atom/releases/download/v#{version}/atom-amd64.deb" system "wget https://github.com/atom/atom/releases/download/v#{version}/atom-amd64.deb"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('atom-amd64.deb') ) == '5e9a487da9d7d6530be61d4af2454b0bcfc907537447cf9d0423766e91282ac7' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('atom-amd64.deb') ) == 'ce3af452301b6ad45ee0abf340e497f8778f6fae114be9e455a305045ab3a037'
system "alien -t -c atom-amd64.deb" system "alien -tc atom-amd64.deb"
system "tar xvf atom-#{version}.tgz" system "tar xvf atom-#{version}.tgz"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment