aboutsummaryrefslogtreecommitdiff
path: root/Formula/td-latest.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-19 09:22:30 -0300
committerEuAndreh <eu@euandre.org>2022-01-19 09:22:30 -0300
commite87e58b1d8d70e6457e1f513a50da6c2510f4f58 (patch)
tree5da924b6288a5f3ae915923f900fff2735f9f0f0 /Formula/td-latest.rb
parentscripts/paku: Update $TARBALL_TEMPLATE URL (diff)
downloadpackage-repository-e87e58b1d8d70e6457e1f513a50da6c2510f4f58.tar.gz
package-repository-e87e58b1d8d70e6457e1f513a50da6c2510f4f58.tar.xz
Update all package definitions
Diffstat (limited to '')
-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