Commit 53a9b6f0 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update atom from 1.45.0 to 1.46.0 (#4064)

parent d1945420
......@@ -3,29 +3,28 @@ require 'package'
class Atom < Package
description 'The hackable text editor'
homepage 'https://atom.io/'
version '1.45.0'
version '1.46.0'
case ARCH
when 'x86_64'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
depends_on 'alien' => :build
depends_on 'fakeroot'
depends_on 'gtk3'
depends_on 'libsecret'
depends_on 'sommelier'
end
binary_url ({
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/atom-1.45.0-chromeos-x86_64.tar.xz'
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/atom-1.46.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
x86_64: 'f8f6bbc3420cea88be0021f0b6e1630a9aec4a4d9a802ac069cbce67f04aca6a'
x86_64: '547bad83d65d8e06ef3738562825230697ea1e99d336d5ca67a8e09dacf873ea',
})
depends_on 'alien' => :build
depends_on 'fakeroot'
depends_on 'gtk3'
depends_on 'libsecret'
depends_on 'sommelier'
def self.build
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') ) == '04a80193cd3ded01c3a89d0e7b0a030b4f5f5c5e2f461a327e006ea8daf3f5e1'
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('atom-amd64.deb') ) == '1efdd2ab08a8290c98386868b98ed6415f833fc8107c1141233a60bc5e8f212b'
system "alien -tc atom-amd64.deb"
system "tar xvf atom-#{version}.tgz"
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