aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering-latest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Formula/remembering-latest.rb')
-rw-r--r--Formula/remembering-latest.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Formula/remembering-latest.rb b/Formula/remembering-latest.rb
new file mode 100644
index 0000000..9a1b33a
--- /dev/null
+++ b/Formula/remembering-latest.rb
@@ -0,0 +1,18 @@
+class RememberingLatest < Formula
+ desc 'Add memory to dmenu, fzf and similar tools.'
+ homepage 'https://remembering.euandreh.xyz'
+ url 'https://git.euandreh.xyz/remembering/snapshot/remembering-3c4e5879b47ed18838352e567cd26beed9361acc.tar.gz'
+ sha256 'b072df907f68efca62dcd81c58b47bfbdc5ea85f8a82dcb76dd89fb246af5b7d'
+ license 'AGPL-3.0-or-later'
+
+ def install
+ system './configure', "--prefix=#{prefix}"
+ system 'make'
+ system 'make', 'check'
+ system 'make', 'install'
+ end
+
+ test do
+ system "#{bin}/remembering", '-V'
+ end
+end