aboutsummaryrefslogblamecommitdiff
path: root/Formula/td-latest.rb
blob: 92729149670ae30ce9f0f1f7e416d8188d5b73fe (plain) (tree)
1
2
3
4
5
6
7
8
9


                                     

                                                                                               

                             

                           









                                                
class TdLatest < Formula
  desc 'Minimalistic bug tracker CLI'
  homepage 'https://td.euandreh.xyz'
  url 'https://euandreh.xyz/td.git/snapshot/td-90f2352c78b921c50f4c8547baa609c272248c30.tar.gz'
  sha256 '6e24ca7be5bc889c0747fb00e1bef29cecb0c92f5fe48ca3a516790afb85651a'
  license 'AGPL-3.0-or-later'

  depends_on 'm4' => :build

  def install
    system 'make'
    system 'make', 'check'
    system 'make', 'install', "PREFIX=#{prefix}"
  end

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