diff options
Diffstat (limited to 'src/homebrew/git-permalink-0-2-0.rb')
-rw-r--r-- | src/homebrew/git-permalink-0-2-0.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/homebrew/git-permalink-0-2-0.rb b/src/homebrew/git-permalink-0-2-0.rb new file mode 100644 index 0000000..b236c0e --- /dev/null +++ b/src/homebrew/git-permalink-0-2-0.rb @@ -0,0 +1,17 @@ +class GitPermalink020 < Formula + desc 'Git extension to generate web permalinks of files in a repository' + homepage 'https://euandre.org/s/git-permalink/' + url 'https://euandre.org/git/git-permalink/snapshot/git-permalink-v0.2.0.tar.xz' + sha256 '9ea6562812f6127771bc2b86919ea63056fcc0f5c1e556875855c924ee8b1183' + license 'AGPL-3.0-or-later' + + def install + system 'make', "PREFIX=#{prefix}" + system 'make', 'check', "PREFIX=#{prefix}" + system 'make', 'install', "PREFIX=#{prefix}" + end + + test do + system "#{bin}/git-permalink", '-V' + end +end |