aboutsummaryrefslogtreecommitdiff
path: root/Formula/td.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-22 12:11:24 -0300
committerEuAndreh <eu@euandre.org>2023-03-22 15:51:52 -0300
commitb3ccc398cfd30ad9e243a041933204ea2e567535 (patch)
tree84ec606d88ace7e9d782d8e954b32d5d73bd6369 /Formula/td.rb
parentsrc/bin/paku: Get Base64 from paku.lock instead of calculating it (diff)
downloadpackage-repository-b3ccc398cfd30ad9e243a041933204ea2e567535.tar.gz
package-repository-b3ccc398cfd30ad9e243a041933204ea2e567535.tar.xz
Support Homebrew
Diffstat (limited to 'Formula/td.rb')
-rw-r--r--Formula/td.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Formula/td.rb b/Formula/td.rb
new file mode 100644
index 0000000..af0d84d
--- /dev/null
+++ b/Formula/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'
+ system 'make', 'check'
+ system 'make', 'install', "PREFIX=#{prefix}"
+ end
+
+ test do
+ system "#{bin}/td", '-V'
+ end
+end