Add lazygit package (#12772)

This commit is contained in:
Ed Reel
2025-09-14 02:55:32 -05:00
committed by GitHub
parent e1ab7c880b
commit f69fbe7438
5 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
# Total size: 20512952
/usr/local/bin/lazygit

View File

@@ -0,0 +1,2 @@
# Total size: 20357304
/usr/local/bin/lazygit

View File

@@ -0,0 +1,2 @@
# Total size: 21999800
/usr/local/bin/lazygit

36
packages/lazygit.rb Normal file
View File

@@ -0,0 +1,36 @@
require 'package'
class Lazygit < Package
description 'A simple terminal UI for git commands'
homepage 'https://github.com/jesseduffield/lazygit'
version '0.55.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: '063948635231925b3877eaa19eda0d31fa51ad143e53feef653487030c6f2ed8',
armv7l: '063948635231925b3877eaa19eda0d31fa51ad143e53feef653487030c6f2ed8',
i686: '5c1383a58683df66ea8a5521893d0bf9a0f5f9f4593a13d2a4738d3af987b4be',
x86_64: 'e7c1c2d127ebdb241398f3daf05907a71a0c977ff12beba6b8ebdb069f9dba6a'
})
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

View File

@@ -3875,6 +3875,11 @@ url: https://www.netlib.org/lapack/
activity: none
---
kind: url
name: lazygit
url: https://github.com/jesseduffield/lazygit/releases
activity: high
---
kind: url
name: lcms
url: https://sourceforge.net/projects/lcms/files/lcms/
activity: low