Add trzsz package (#13229)

* Add trzsz package

* Add binaries and filelists

---------

Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
This commit is contained in:
Lonny Wong
2025-10-28 04:40:29 +08:00
committed by GitHub
parent 300ca940f6
commit 590cb152d2
5 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# Total size: 14634320
/usr/local/bin/trz
/usr/local/bin/trzsz
/usr/local/bin/tsz

View File

@@ -0,0 +1,4 @@
# Total size: 14461680
/usr/local/bin/trz
/usr/local/bin/trzsz
/usr/local/bin/tsz

View File

@@ -0,0 +1,4 @@
# Total size: 15344492
/usr/local/bin/trz
/usr/local/bin/trzsz
/usr/local/bin/tsz

28
packages/trzsz.rb Normal file
View File

@@ -0,0 +1,28 @@
require 'package'
class Trzsz < Package
description 'Simple file transfer tools, similar to lrzsz (rz/sz), and compatible with tmux.'
homepage 'https://trzsz.github.io'
version '1.1.8'
license 'MIT'
compatibility 'all'
source_url 'https://github.com/trzsz/trzsz-go.git'
git_hashtag "v#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'ee0c1d36bd136bee8fc4acff260191acd5d8bce505e3e592f050d9a718d530d5',
armv7l: 'ee0c1d36bd136bee8fc4acff260191acd5d8bce505e3e592f050d9a718d530d5',
i686: '8ad1cbd074aa7ff0dfe9447959f3320ba78c7f455334e9685f85e3847fd1097f',
x86_64: '35f74a16ce3ad9532f7cdd8a5ae27e7f92ce6c46b252c7b59c7eab6d83148e13'
})
depends_on 'glibc' # R
depends_on 'go' => :build
def self.install
system "go build -ldflags '-s -w' -o #{CREW_DEST_PREFIX}/bin/trz ./cmd/trz"
system "go build -ldflags '-s -w' -o #{CREW_DEST_PREFIX}/bin/tsz ./cmd/tsz"
system "go build -ldflags '-s -w' -o #{CREW_DEST_PREFIX}/bin/trzsz ./cmd/trzsz"
end
end

View File

@@ -9520,6 +9520,11 @@ url: https://sourceforge.net/projects/trousers/files/trousers/
activity: none
---
kind: url
name: trzsz
url: https://github.com/trzsz/trzsz-go/releases
activity: none
---
kind: url
name: tssh
url: https://github.com/trzsz/trzsz-ssh/releases
activity: low