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
d78db0ba
Commit
d78db0ba
authored
May 31, 2020
by
Ed Reel
Committed by
GitHub
May 31, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into add-check-package-compatibility
parents
a4f128d9
115ab18d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
31 deletions
+15
-31
packages/stack.rb
packages/stack.rb
+8
-24
packages/v2ray.rb
packages/v2ray.rb
+7
-7
No files found.
packages/stack.rb
View file @
d78db0ba
...
...
@@ -3,38 +3,22 @@ require 'package'
class
Stack
<
Package
description
'The Haskell Tool Stack - Stack is a cross-platform program for developing Haskell projects. It is aimed at Haskellers both new and experienced.'
homepage
'https://docs.haskellstack.org/en/stable/README/'
version
'2.1.3'
version
'2.1.3
-1
'
compatibility
'all'
case
ARCH
when
'aarch64'
,
'armv7l'
source_url
'https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-arm.tar.gz'
source_sha256
'6c8a2100183368d0fe8298bc99260681f10c81838423884be885baaa2e096e78'
when
'i686'
source_url
'https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-i386.tar.gz'
source_sha256
'4acd97f4c91b1d1333c8d84ea38f690f0b5ac5224ba591f8cdd1b9d0e8973807'
when
'x86_64'
source_url
'https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-x86_64.tar.gz'
source_sha256
'c724b207831fe5f06b087bac7e01d33e61a1c9cad6be0468f9c117d383ec5673'
end
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/stack-2.1.3-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/stack-2.1.3-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/stack-2.1.3-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/stack-2.1.3-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'fc7da39bc31870079388f77b9410c582103d160fa3bbdfddd7d3a168da9caa7e'
,
armv7l:
'fc7da39bc31870079388f77b9410c582103d160fa3bbdfddd7d3a168da9caa7e'
,
i686:
'd5e1452abdf115ac7452f2508ff8b367300fc18075af918bba5e1b9544e6337f'
,
x86_64:
'96a7fd13f475e3465a35b5cd70082abfb2b1cef72474851952b9e2dda048a3c9'
,
})
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_HOME
}
/.stack"
FileUtils
.
mkdir_p
CREW_DEST_HOME
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/.stack"
system
"install -Dm755 stack
#{
CREW_DEST_PREFIX
}
/bin/stack"
system
"echo 'local-bin-path:
#{
CREW_PREFIX
}
/bin' >
#{
CREW_DEST_HOME
}
/.stack/config.yaml"
system
"echo 'local-programs-path:
#{
CREW_PREFIX
}
/share/stack' >>
#{
CREW_DEST_HOME
}
/.stack/config.yaml"
system
"echo 'local-bin-path:
#{
CREW_PREFIX
}
/bin' >
#{
CREW_DEST_PREFIX
}
/.stack/config.yaml"
system
"echo 'local-programs-path:
#{
CREW_PREFIX
}
/share/stack' >>
#{
CREW_DEST_PREFIX
}
/.stack/config.yaml"
FileUtils
.
ln_s
"
#{
CREW_PREFIX
}
/.stack"
,
"
#{
CREW_DEST_HOME
}
/.stack"
end
def
self
.
postinstall
...
...
@@ -45,7 +29,7 @@ class Stack < Package
puts
"source ~/.bashrc"
.
lightblue
puts
puts
"To completely uninstall stack, execute the following:"
.
lightblue
puts
"crew remove
cabal ghc
stack"
.
lightblue
puts
"crew remove stack"
.
lightblue
puts
"rm -rf
#{
CREW_PREFIX
}
/share/stack"
.
lightblue
puts
"rm -rf ~/.stack"
.
lightblue
puts
...
...
packages/v2ray.rb
View file @
d78db0ba
...
...
@@ -3,19 +3,19 @@ require 'package'
class
V2ray
<
Package
description
'A platform for building proxies to bypass network restrictions.'
homepage
'https://www.v2ray.com/'
version
'v4.2
2.1
'
version
'v4.2
3.2
'
compatibility
'all'
case
ARCH
when
'aarch64'
,
'armv7l'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.2
2.1
/v2ray-linux-arm.zip'
source_sha256
'
8fa800ee4a8d62d3d9970cfe6883c39b22637ac902d73391973cb2c9c08fed07
'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.2
3.2
/v2ray-linux-arm.zip'
source_sha256
'
6755c3f35e488e796ecf8d4765be0434057212aae13cd2041a1f275dffd59220
'
when
'i686'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.2
2.1
/v2ray-linux-32.zip'
source_sha256
'
27194ae58ab74096c77c99a7ed40c727eced7fd17b523cfc8295985134605691
'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.2
3.2
/v2ray-linux-32.zip'
source_sha256
'
55ee0eeaefff9fa42703ecf62ff472610079c4e1e9f8ce1bc62da67559a99507
'
when
'x86_64'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.2
2.1
/v2ray-linux-64.zip'
source_sha256
'
4a93d05127deb1f921ad88dca0c5cde5d7e664531a1b6bfdebfa4d4bac1c6348
'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.2
3.2
/v2ray-linux-64.zip'
source_sha256
'
791b2974f2f8373844fc3f1e9d93534ebb35b7dfb2ee041de5d6ab9d33f06dd4
'
end
def
self
.
install
...
...
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