Files
chromebrew/packages/lazygit.rb
chromebrew-actions[bot] 7be7c922f0 lazygit: 0.58.1 → 0.59.0 (#14559)
* lazygit -> 0.59.0 in updater-lazygit-0.59.0

* updater-lazygit-0.59.0: Package File Update Run on linux/386 container.

* updater-lazygit-0.59.0: Package File Update Run on linux/amd64 container.

* updater-lazygit-0.59.0: Package File Update Run on linux/arm/v7 container.

---------

Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2026-02-07 23:19:00 +00:00

37 lines
1.4 KiB
Ruby

require 'package'
class Lazygit < Package
description 'A simple terminal UI for git commands'
homepage 'https://github.com/jesseduffield/lazygit'
version '0.59.0'
license 'MIT'
compatibility 'all'
source_url({
aarch64: "https://github.com/jesseduffield/lazygit/releases/download/v#{version}/lazygit_#{version}_linux_armv6.tar.gz",
armv7l: "https://github.com/jesseduffield/lazygit/releases/download/v#{version}/lazygit_#{version}_linux_armv6.tar.gz",
i686: "https://github.com/jesseduffield/lazygit/releases/download/v#{version}/lazygit_#{version}_linux_32-bit.tar.gz",
x86_64: "https://github.com/jesseduffield/lazygit/releases/download/v#{version}/lazygit_#{version}_linux_x86_64.tar.gz"
})
source_sha256({
aarch64: 'f41bf9b38554f3e19cfdd67e543d505aeb7ee91e5392157960766d98eaee1411',
armv7l: 'f41bf9b38554f3e19cfdd67e543d505aeb7ee91e5392157960766d98eaee1411',
i686: 'e1540d449999f6f75a944d6e0359de2dbced9ca178931483ef487d43ddc4144a',
x86_64: '264283f40a40c899d702a338b20622f690221f753f03bac827c1f34e91f516c2'
})
no_compile_needed
no_shrink
def self.install
FileUtils.install 'lazygit', "#{CREW_DEST_PREFIX}/bin/lazygit", mode: 0o755
end
def self.postinstall
ExitMessage.add "\nType 'lazygit' to get started.\n"
end
def self.postremove
Package.agree_to_remove("#{HOME}/.local/state/lazygit")
end
end