git-remote-gcrypt 1.2 (new formula)
added new formula Closes #47907. Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
parent
02d7525788
commit
b2dcca0227
1 changed files with 18 additions and 0 deletions
18
Formula/git-remote-gcrypt.rb
Normal file
18
Formula/git-remote-gcrypt.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
class GitRemoteGcrypt < Formula
|
||||
desc "GPG-encrypted git remotes"
|
||||
homepage "https://spwhitton.name/tech/code/git-remote-gcrypt/"
|
||||
url "https://github.com/spwhitton/git-remote-gcrypt/archive/1.2.tar.gz"
|
||||
sha256 "6f00d5891639f8d2c263ca15b14ad02bb5a8dd048e9c778fcc12a38cb26f51c4"
|
||||
|
||||
depends_on "docutils" => :build
|
||||
|
||||
def install
|
||||
inreplace "./install.sh", "rst2man", "rst2man.py"
|
||||
ENV["prefix"] = prefix
|
||||
system "./install.sh"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match("fetch\npush\n", pipe_output("#{bin}/git-remote-gcrypt", "capabilities\n", 0))
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue