aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-20 03:37:39 -0300
committerEuAndreh <eu@euandre.org>2021-02-20 03:46:54 -0300
commitd3f2eed3e15a3380583c72a6f8e16cbe85614bed (patch)
treec6e0eab956c6fe606b865fe706300a05a821ac69 /Formula/remembering.rb
parentMakefile: Mark "all" target as .PHONY (diff)
downloadpackage-repository-d3f2eed3e15a3380583c72a6f8e16cbe85614bed.tar.gz
package-repository-d3f2eed3e15a3380583c72a6f8e16cbe85614bed.tar.xz
Add Homebrew initial packaging
Diffstat (limited to '')
-rw-r--r--Formula/remembering.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Formula/remembering.rb b/Formula/remembering.rb
new file mode 100644
index 0000000..1007a0d
--- /dev/null
+++ b/Formula/remembering.rb
@@ -0,0 +1,18 @@
+class Remembering < Formula
+ desc 'Add memory to dmenu, fzf and similar tools.'
+ homepage 'https://remembering.euandreh.xyz'
+ url 'https://git.euandreh.xyz/remembering/snapshot/remembering-793b782617b0667eefa938a836f24d8a5e087bb0.tar.gz'
+ sha256 '0049501383ce7fc4d42a406f8193e1f05ff3e9a3dce3a9e40e56d9997f96f691'
+ 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