aboutsummaryrefslogtreecommitdiff
path: root/Formula/td-latest.rb
blob: fc7d75dbcf1e2fc8b18f8a599ff1b2daa73b73d3 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class TdLatest < Formula
  desc 'Minimalistic bug tracker CLI'
  homepage 'https://euandreh.xyz/td/'
  url 'https://euandreh.xyz/td.git/snapshot/td-c9d881f67918c6b098d868e0df6c8837632d0d93.tar.gz'
  sha256 'a59f0005c5be9a87d42824a39c3bc74771c6ebd905bab7216a270ecdb328dad4'
  license 'AGPL-3.0-or-later'

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

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