blob: b236c0e28387033e060fb2b05310951709499dba (
plain) (
tree)
|
|
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
|