aboutsummaryrefslogtreecommitdiff
path: root/Formula/td-latest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Formula/td-latest.rb')
-rw-r--r--Formula/td-latest.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Formula/td-latest.rb b/Formula/td-latest.rb
new file mode 100644
index 0000000..6ee8250
--- /dev/null
+++ b/Formula/td-latest.rb
@@ -0,0 +1,17 @@
+class TdLatest < Formula
+ desc 'Minimalistic bug tracker CLI'
+ homepage 'https://td.euandreh.xyz'
+ url 'https://euandreh.xyz/td.git/snapshot/td-707bb2080c35944b14da57f13310c4bad61259fe.tar.gz'
+ sha256 'd25e72d3b68606c01ba1b5f98ec4c0458e684db0c981c9a974f383d2d919e063'
+ 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