aboutsummaryrefslogblamecommitdiff
path: root/Formula/git-permalink-0-2-0.rb
blob: 7b66c531c538d4b2c621a6497d0d7e171889fba1 (plain) (tree)
1
2
3

                                                                          
                                                 













                                                                                  
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'
    system 'make', 'check'
    system 'make', 'install', "PREFIX=#{prefix}"
  end

  test do
    system "#{bin}/git-permalink", '-V'
  end
end