Commit d222ba8d authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #1512 from uberhacker/add-pre-built-binaries-heroku-syncthing

Add pre-built binaries for heroku and syncthing
parents 01a2f472 081f521e
......@@ -6,8 +6,20 @@ class Heroku < Package
version '6.14.42'
source_url 'https://github.com/heroku/cli/archive/v6.14.42.tar.gz'
source_sha256 'cf129c61622be965384a66355a702c7919d6bc2e45b60969c6e9f9fa7342988e'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/heroku-6.14.42-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/heroku-6.14.42-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/heroku-6.14.42-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/heroku-6.14.42-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '62360b8ae87e46c8cfb02cdfaf2ee9312781b9578cb006aecd10ab07a2ce58e4',
armv7l: '62360b8ae87e46c8cfb02cdfaf2ee9312781b9578cb006aecd10ab07a2ce58e4',
i686: '83f2f2c4a28916e9d737c85fa0d54032d56a5384bb7a36806ffba4112bada655',
x86_64: '0b5613c26ad45d13610a978c0695ec68be4682ab7c83c8339a0908a795dfb94e',
})
depends_on 'yarn'
def self.build
......@@ -15,10 +27,9 @@ class Heroku < Package
end
def self.install
system "mkdir -p #{CREW_DEST_PREFIX}/share/heroku"
system "mkdir -p #{CREW_DEST_PREFIX}/share/heroku"
system "cp -r . #{CREW_DEST_PREFIX}/share/heroku"
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "ln -s #{CREW_PREFIX}/share/heroku/bin/run #{CREW_DEST_PREFIX}/bin/heroku"
end
end
......@@ -8,8 +8,16 @@ class Syncthing < Package
source_sha256 '9c406897443465e03d3259df1dda10bd86e49ae4286f8c855d9f35e47026af2f'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/syncthing-0.14.41-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/syncthing-0.14.41-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/syncthing-0.14.41-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/syncthing-0.14.41-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '49a1232c9bb8889c28b47e6663a93392a0e97f5501e37ec5725b0e2a94945eee',
armv7l: '49a1232c9bb8889c28b47e6663a93392a0e97f5501e37ec5725b0e2a94945eee',
i686: 'a7cce6d9cf389f991a29ead1212c11c77ae78b9f7093e739c56b19c5ef0d6d9b',
x86_64: '60c9415478f1f640043ca18cfce40afa60c623d734e80df191620e1e2b935379',
})
depends_on 'go' => :build
......
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