From c5e9b62f0193ce802955ebdc8c128a21f3ca3097 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 28 Mar 2023 19:51:44 -0300 Subject: mv Formula/ src/homebrew/ --- src/homebrew/td.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/homebrew/td.rb (limited to 'src/homebrew/td.rb') diff --git a/src/homebrew/td.rb b/src/homebrew/td.rb new file mode 100644 index 0000000..eeb58d2 --- /dev/null +++ b/src/homebrew/td.rb @@ -0,0 +1,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 -- cgit v1.2.3