mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04: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.0.3'
|
|
license 'MIT'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url "https://github.com/pantheon-systems/terminus/releases/download/#{version}/terminus.phar"
|
|
source_sha256 '8d2069387cacd3ca02ae6536b41d5f5c4abe3cd416bbf9b3ee52e409eccc5ceb'
|
|
|
|
depends_on 'php83' 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
|