mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
33 lines
1.2 KiB
Ruby
33 lines
1.2 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.216'
|
|
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: '7030226f30a75d8e65ca64fe82f22c9886a65f596186711e5c443b079969076f',
|
|
armv7l: '7030226f30a75d8e65ca64fe82f22c9886a65f596186711e5c443b079969076f',
|
|
x86_64: 'bb03f206c73a2aa28825e3ba56f78568ee8a86b76072e0dc6dd8bfdcdede3b57'
|
|
})
|
|
|
|
depends_on 'at_spi2_core'
|
|
depends_on 'gtk3'
|
|
|
|
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
|