mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Update py3_setuptools Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix Agree timeout env variable, add pip updates, fixup build_updated_packages script and add functionality to skip remote update checks. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add documentation for the --skip command. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Handle compatibility with commas Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Handle empty conpatibility. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fixup compatibility sections of package files. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Rebuild parted to handle missing binaries, and update build_updated_packages to notice binary_compression and not ask to rebuild if bimaries already exist. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix hash for nconvert. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
32 lines
1.2 KiB
Ruby
32 lines
1.2 KiB
Ruby
require 'package'
|
|
|
|
class Heroku < Package
|
|
description 'The Heroku Command Line Interface (CLI), formerly known as the Heroku Toolbelt, is a tool for creating and managing Heroku apps from the command line / shell of various operating systems.'
|
|
homepage 'https://devcenter.heroku.com/articles/heroku-cli'
|
|
version '7.44.0'
|
|
license 'Heroku-TOS'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://github.com/heroku/cli/archive/v7.44.0.tar.gz'
|
|
source_sha256 '565e2a42a5095da43466465f29455ea646b235742f16b667d58da0a312c0fe8a'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: 'c97d289b8e06b35552f49c2da468a883292a8bd29f40d5bf110b0e3632cfc102',
|
|
armv7l: 'c97d289b8e06b35552f49c2da468a883292a8bd29f40d5bf110b0e3632cfc102',
|
|
x86_64: '2e98fdebcbe61a6819e7066da0152a1da1cabaa456d4d6f869d4ec582b5e8555'
|
|
})
|
|
|
|
depends_on 'yarn' => :build
|
|
|
|
def self.build
|
|
system 'yarn install'
|
|
end
|
|
|
|
def self.install
|
|
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
|