mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
20 lines
675 B
Ruby
20 lines
675 B
Ruby
require 'package'
|
|
|
|
class Terminus < Package
|
|
description 'The Pantheon CLI — a standalone utility for performing operations on the Pantheon Platform'
|
|
homepage 'https://github.com/pantheon-systems/terminus'
|
|
version '4.1.1'
|
|
license 'MIT'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url "https://github.com/pantheon-systems/terminus/releases/download/#{version}/terminus.phar"
|
|
source_sha256 '4f045509adedb6c68e0946af97761e5f8f39408e9775e628980758f2e9b2a5f4'
|
|
|
|
depends_on 'php84' unless File.exist? "#{CREW_PREFIX}/bin/php"
|
|
|
|
no_compile_needed
|
|
|
|
def self.install
|
|
FileUtils.install 'terminus.phar', "#{CREW_DEST_PREFIX}/bin/terminus", mode: 0o755
|
|
end
|
|
end
|