Add ironclad package (#13365)

This commit is contained in:
Ed Reel
2025-11-07 19:30:02 -06:00
committed by GitHub
parent 95fe014d14
commit 68ab5aa87e
5 changed files with 41 additions and 0 deletions

30
packages/ironclad.rb Normal file
View File

@@ -0,0 +1,30 @@
require 'package'
class Ironclad < Package
description 'A command line password manager.'
homepage 'https://www.dmulholl.com/docs/ironclad/master/'
version '2.7.0'
license '0BSD'
compatibility 'all'
source_url 'https://github.com/dmulholl/ironclad.git'
git_hashtag "v#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'd71c5253d76d64b58a2d32732745e658d66f0cc430dad5513e52910e8bde3b51',
armv7l: 'd71c5253d76d64b58a2d32732745e658d66f0cc430dad5513e52910e8bde3b51',
i686: '17e304fd45ac30488bd57856c50135da1638c2cb060da2401ed694db9d569d4d',
x86_64: '764b3f9256a2ad15879341e7b1949d7b8b15a2524cc75ebb05310a6443fcc2e5'
})
depends_on 'glibc' # R
depends_on 'go' => :build
def self.build
system 'make build'
end
def self.install
FileUtils.install 'build/ironclad', "#{CREW_DEST_PREFIX}/bin/ironclad", mode: 0o755
end
end