Files
chromebrew/packages/lazygit.rb
chromebrew-actions[bot] 7efa60a2a8 lazygit -> 0.60.0 in updater-lazygit-0.60.0 — lazygit: 0.59.0 → 0.60.0 (#14954)
* lazygit -> 0.60.0 in updater-lazygit-0.60.0

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

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

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

---------

Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
2026-03-11 01:32:22 +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.60.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: '163c693791840468101d80955e610f46bda167edcd268d08f3aa1bc0edf5b218',
armv7l: '163c693791840468101d80955e610f46bda167edcd268d08f3aa1bc0edf5b218',
i686: 'e95fe55a2a1386275f3d2584152df31f759b6ce8abf8605a55cdaea9ec8788a9',
x86_64: '6252ca6cf98bc4fd3e0d927b54225910cfa57b065d0ad88263f14592f7f9ab15'
})
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