mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* Rename IgnoredPatterns to AllowedPatterns. * Exclude docopt.rb (not our code) from Rubocop * Disable Style/RedundantReturn * Disable Style/MutableConstant * Disable Style/NumericLiterals * Set Layout/IndentationStyle to spaces * Temporarily disable various cops. * Add Rubocop CI via Octocop * Lint tree with rubocop -A -c .rubocop.yml Co-authored-by: Satadru Pramanik <satadru@gmail.com>
29 lines
1.3 KiB
Ruby
29 lines
1.3 KiB
Ruby
require 'package'
|
|
|
|
class Sshrc < Package
|
|
description 'bring your .bashrc, .vimrc, etc. with you when you ssh'
|
|
homepage 'https://github.com/Russell91/sshrc'
|
|
version '0.6.1'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/Russell91/sshrc/archive/0.6.1.tar.gz'
|
|
source_sha256 'e849ff19319381548011a9bdf1e33abc6eba3dc6a910c4226e6981d75d5564dd'
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshrc/0.6.1_armv7l/sshrc-0.6.1-chromeos-armv7l.tar.xz',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshrc/0.6.1_armv7l/sshrc-0.6.1-chromeos-armv7l.tar.xz',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshrc/0.6.1_i686/sshrc-0.6.1-chromeos-i686.tar.xz',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshrc/0.6.1_x86_64/sshrc-0.6.1-chromeos-x86_64.tar.xz'
|
|
})
|
|
binary_sha256({
|
|
aarch64: 'e52ec8b2ea9be7d694bcc676059a8f5bfd35a9a05dbde317eff1bfb992ed9d37',
|
|
armv7l: 'e52ec8b2ea9be7d694bcc676059a8f5bfd35a9a05dbde317eff1bfb992ed9d37',
|
|
i686: 'c75c2b8cdd3996299d91195ed16fe727a72add0c718df10baf9aa6b009737f31',
|
|
x86_64: '7d940b4d6e59da0868081379314f31a923bb37ca9cfc934c23e62892a24750b9'
|
|
})
|
|
|
|
def self.install
|
|
system "install -Dm755 sshrc #{CREW_DEST_PREFIX}/bin/sshrc"
|
|
end
|
|
end
|