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
99a39ee8
Commit
99a39ee8
authored
May 28, 2020
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pre-built binaries for github_cli, ripgrep and wxwidgets
Add postinstall sections to github_cli and ripgrep
parent
61f9eff4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
0 deletions
+35
-0
packages/github_cli.rb
packages/github_cli.rb
+14
-0
packages/ripgrep.rb
packages/ripgrep.rb
+13
-0
packages/wxwidgets.rb
packages/wxwidgets.rb
+8
-0
No files found.
packages/github_cli.rb
View file @
99a39ee8
...
@@ -8,8 +8,16 @@ class Github_cli < Package
...
@@ -8,8 +8,16 @@ class Github_cli < Package
source_sha256
'318295e5a662f785662751f1e2cd4b1f613ec3aced1c4e7f1755d27922dbfdbf'
source_sha256
'318295e5a662f785662751f1e2cd4b1f613ec3aced1c4e7f1755d27922dbfdbf'
binary_url
({
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/github_cli-0.9.0-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/github_cli-0.9.0-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/github_cli-0.9.0-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/github_cli-0.9.0-chromeos-x86_64.tar.xz'
,
})
})
binary_sha256
({
binary_sha256
({
aarch64:
'e1ac503938d742d34c46ee3c35e0ce1a0f43732c95a20826908633bedc50e625'
,
armv7l:
'e1ac503938d742d34c46ee3c35e0ce1a0f43732c95a20826908633bedc50e625'
,
i686:
'6162d4893573836ace9915244dbf565342dcc41ac6369bc8dfa20f970e1cbc93'
,
x86_64:
'624f3bf1941d4d1b097c3506af48dbf3fd16d1055057730896a742006e5dc55d'
,
})
})
depends_on
'go'
=>
:build
depends_on
'go'
=>
:build
...
@@ -21,4 +29,10 @@ class Github_cli < Package
...
@@ -21,4 +29,10 @@ class Github_cli < Package
def
self
.
install
def
self
.
install
system
"install -Dm755 bin/gh
#{
CREW_DEST_PREFIX
}
/bin/gh"
system
"install -Dm755 bin/gh
#{
CREW_DEST_PREFIX
}
/bin/gh"
end
end
def
self
.
postinstall
puts
puts
"Type 'gh' to get started."
.
lightblue
puts
end
end
end
packages/ripgrep.rb
View file @
99a39ee8
...
@@ -8,8 +8,14 @@ class Ripgrep < Package
...
@@ -8,8 +8,14 @@ class Ripgrep < Package
source_sha256
'ca2d11dd7b7346734d47ad8073468e9c409fbe85842a608d372b8d4fb36be291'
source_sha256
'ca2d11dd7b7346734d47ad8073468e9c409fbe85842a608d372b8d4fb36be291'
binary_url
({
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/ripgrep-12.1.0-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/ripgrep-12.1.0-chromeos-armv7l.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/ripgrep-12.1.0-chromeos-x86_64.tar.xz'
,
})
})
binary_sha256
({
binary_sha256
({
aarch64:
'3a258a81559b077d04cf3d9912731da26d2f8398538e9a9faa3fb3e0a15aa6cd'
,
armv7l:
'3a258a81559b077d04cf3d9912731da26d2f8398538e9a9faa3fb3e0a15aa6cd'
,
x86_64:
'1e1b614726be5ad7de8e35921d8ea73c0fd72f4cd3d245b5dae78e356055e17b'
,
})
})
depends_on
'rust'
depends_on
'rust'
...
@@ -27,10 +33,17 @@ class Ripgrep < Package
...
@@ -27,10 +33,17 @@ class Ripgrep < Package
end
end
def
self
.
check
def
self
.
check
ENV
[
'TMPDIR'
]
=
"
#{
CREW_PREFIX
}
/tmp"
system
'cargo test --all'
system
'cargo test --all'
end
end
def
self
.
install
def
self
.
install
system
"install -Dm755 target/release/rg
#{
CREW_DEST_PREFIX
}
/bin/rg"
system
"install -Dm755 target/release/rg
#{
CREW_DEST_PREFIX
}
/bin/rg"
end
end
def
self
.
postinstall
puts
puts
"Type 'rg' to get started."
.
lightblue
puts
end
end
end
packages/wxwidgets.rb
View file @
99a39ee8
...
@@ -8,8 +8,16 @@ class Wxwidgets < Package
...
@@ -8,8 +8,16 @@ class Wxwidgets < Package
source_sha256
'440f6e73cf5afb2cbf9af10cec8da6cdd3d3998d527598a53db87099524ac807'
source_sha256
'440f6e73cf5afb2cbf9af10cec8da6cdd3d3998d527598a53db87099524ac807'
binary_url
({
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/wxwidgets-3.0.5.1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/wxwidgets-3.0.5.1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/wxwidgets-3.0.5.1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/wxwidgets-3.0.5.1-chromeos-x86_64.tar.xz'
,
})
})
binary_sha256
({
binary_sha256
({
aarch64:
'9bc9ccfe7c61b34880f86340c35114f2cadd9a1cee6e7941cb345c9919a2c33d'
,
armv7l:
'9bc9ccfe7c61b34880f86340c35114f2cadd9a1cee6e7941cb345c9919a2c33d'
,
i686:
'dd1e04c0d67446afcb3c3083d4e2c77ed4d1227d08434b4e512dab4bda0c4993'
,
x86_64:
'f7c04b355523fc215d30e16671ae2e3654fbf13112acc753d0797e3ef862d2b4'
,
})
})
depends_on
'gst_plugins_base'
depends_on
'gst_plugins_base'
...
...
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