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
Łukasz Nowak
chromebrew
Commits
765fad1a
Commit
765fad1a
authored
6 years ago
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add spark package
parent
516c5b05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
packages/spark.rb
packages/spark.rb
+15
-0
No files found.
packages/spark.rb
0 → 100644
View file @
765fad1a
require
'package'
class
Spark
<
Package
description
'sparklines for your shell'
homepage
'https://zachholman.com/spark/'
version
'ab88ac'
source_url
'https://raw.githubusercontent.com/holman/spark/ab88ac6f8f33698f39ece2f109b1117ef39a68eb/README.md'
source_sha256
'85a153beeafea5637615644f2e92e47e71c621ffa1b0d995acadf51d1c9bbd0d'
def
self
.
install
system
'wget https://raw.githubusercontent.com/holman/spark/ab88ac6f8f33698f39ece2f109b1117ef39a68eb/spark'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'spark'
)
)
==
'1fa0ef384309239f27f8c98c843639cac2c59e4fe51413cca9836ea64f73329d'
system
"install -Dm755 spark
#{
CREW_DEST_PREFIX
}
/bin/spark"
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