aboutsummaryrefslogtreecommitdiff
path: root/Formula/td.rb
blob: eeb58d284f1b94de6df8c03ba2155882ef1502d6 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Td < Formula
  desc 'Minimalistic bug tracker CLI'
  homepage 'https://euandre.org/s/td/'
  url 'https://euandre.org/git/td/snapshot/td-4a8a7a2662c94b2581f587e9a4b81feba4f5e7d8.tar.xz'
  sha256 'a25561ae8062788bfb79df2de5f26e5f1100638fbeabff934490cdf0a9dde105'
  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}/td", '-V'
  end
end