aboutsummaryrefslogtreecommitdiff
path: root/Formula/td-latest.rb
blob: 723c77d3adafe29c5ed4eb8ee7a0fd6b00fed208 (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-7a1d07c1051ff48f17c915f99e20b629ed0a6a70.tar.gz'
  sha256 '4857ac55dbc9790c0aa5b3b7c0c8eadcaed29e201cea46d8b1dd4248d574acc7'
  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