Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
a9fe00d2
Commit
a9fe00d2
authored
3 years ago
by
supechicken666
Committed by
GitHub
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atom => 1.55.0 (#5545)
* Update atom.rb
parent
08549b78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
26 deletions
+10
-26
packages/atom.rb
packages/atom.rb
+10
-26
No files found.
packages/atom.rb
View file @
a9fe00d2
...
...
@@ -3,37 +3,21 @@ require 'package'
class
Atom
<
Package
description
'The hackable text editor'
homepage
'https://atom.io/'
version
'1.48.0'
@_ver
=
'1.55.0'
version
@_ver
license
'MIT'
compatibility
'x86_64'
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.48.0-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
x86_64:
'0ec7fd1c4aa6c2451c02f6c294e37063b84b1bb97e921c9dee65e99c64ee19e5'
,
})
source_url
"https://github.com/atom/atom/releases/download/v
#{
@_ver
}
/atom-amd64.deb"
source_sha256
'e1c650fcfdfc09aafef0ecfe041d254ad9007fb3ca797dafd21c8333fd0b1340'
def
self
.
build
system
"curl -#LO 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'
)
)
==
'41a717bb3749a77f1b55f9262417c5dc8cf9e22d99b5951a85d238ea575f2399'
system
"alien -tc atom-amd64.deb"
system
"tar xvf atom-
#{
version
}
.tgz"
end
depends_on
'fakeroot'
depends_on
'gtk3'
depends_on
'libsecret'
depends_on
'sommelier'
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
"
FileUtils
.
mv
'usr/bin'
,
"
#{
CREW_DEST_PREFIX
}
"
FileUtils
.
mv
'usr/share'
,
"
#{
CREW_DEST_PREFIX
}
"
FileUtils
.
mkdir_p
CREW_DEST_PREFIX
FileUtils
.
mv
Dir
[
'*'
],
CREW_DEST_PREFIX
end
end
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment