mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
35 lines
1.3 KiB
Ruby
35 lines
1.3 KiB
Ruby
require 'package'
|
|
|
|
class Tabby < Package
|
|
description 'Tabby is an infinitely customizable cross-platform terminal app for local shells, serial, SSH and Telnet connections.'
|
|
homepage 'https://tabby.sh/'
|
|
version '1.0.230'
|
|
license 'MIT'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url({
|
|
aarch64: "https://github.com/Eugeny/tabby/releases/download/v#{version}/tabby-#{version}-linux-armv7l.tar.gz",
|
|
armv7l: "https://github.com/Eugeny/tabby/releases/download/v#{version}/tabby-#{version}-linux-armv7l.tar.gz",
|
|
x86_64: "https://github.com/Eugeny/tabby/releases/download/v#{version}/tabby-#{version}-linux-x64.tar.gz"
|
|
})
|
|
source_sha256({
|
|
aarch64: 'bcbc1142d1ead3f2367a51d05ed94effe153af42faf51c527b853f5d476de432',
|
|
armv7l: 'bcbc1142d1ead3f2367a51d05ed94effe153af42faf51c527b853f5d476de432',
|
|
x86_64: '747df7a8bac7a4cc04afc04aee8512dcc8bed515e174041b282c573c3dba7302'
|
|
})
|
|
|
|
depends_on 'alsa_lib' # R
|
|
depends_on 'at_spi2_core' # R
|
|
depends_on 'gtk3' # R
|
|
depends_on 'nss' # R
|
|
|
|
no_compile_needed
|
|
no_shrink
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/tabby"
|
|
FileUtils.mv Dir['*'], "#{CREW_DEST_PREFIX}/share/tabby"
|
|
FileUtils.ln_s "#{CREW_PREFIX}/share/tabby/tabby", "#{CREW_DEST_PREFIX}/bin/tabby"
|
|
end
|
|
end
|